| # Copyright 2005, Ryan Anderson <ryan@michonline.com> |
| # This file is licensed under the GPL v2, or a later version |
| # at the discretion of Linus Torvalds. |
| echo "$0 <commit> <filename> <url>" |
| echo " Summarizes the changes since <commit>, stores them in <filename>" |
| echo " and includes <url> in the message generated." |
| baserev=`git-rev-parse $revision` |
| echo "The git repository at:" |
| echo "contains the following changes since commit $baserev" |
| git log $revision.. | git-shortlog ; |
| git diff $revision.. | diffstat ; |
| echo "The above message is also stored in $filename" |