From: Junio C Hamano Date: Wed, 29 Aug 2007 08:33:37 +0000 (-0700) Subject: Redo Summary script to use reflog fully X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c950dd3fa6851d9e33ab3020a5474e1730160d5;p=thirdparty%2Fgit.git Redo Summary script to use reflog fully --- diff --git a/Summary b/Summary index c8943dbd98..60976cd444 100755 --- a/Summary +++ b/Summary @@ -6,9 +6,9 @@ trap 'rm -f $tmp-*' 0 since="$1" until="$2" -git-rev-list --no-merges "^master@{$1}" "master@{$2}" >"$tmp-0.txt" -top=$(head -n 1 "$tmp-0.txt") -bottom=$(tail -n 1 "$tmp-0.txt") +git-rev-list --no-merges "master@{$1}..master@{$2}" >"$tmp-0.txt" +top="master@{$until}" +bottom="master@{$since}" num_patches=$(git rev-list --no-merges $bottom..$top | wc -l) git shortlog -s -n --no-merges $bottom..$top >"$tmp-0.txt"