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