Redo Summary script to use reflog fully

Junio C Hamano committed Aug 29, 2007 at 01:33 UTC 6c950dd3fa6851d9e33ab3020a5474e1730160d5
1 file changed +3 -3
Summary
+3 -3
@@ -6,9 +6,9 @@ trap 'rm -f $tmp-*' 0
6 since="$1"
7 until="$2"
8
9 -git-rev-list --no-merges "^master@{$1}" "master@{$2}" >"$tmp-0.txt"
10 -top=$(head -n 1 "$tmp-0.txt")
11 -bottom=$(tail -n 1 "$tmp-0.txt")
9 +git-rev-list --no-merges "master@{$1}..master@{$2}" >"$tmp-0.txt"
10 +top="master@{$until}"
11 +bottom="master@{$since}"
12
13 num_patches=$(git rev-list --no-merges $bottom..$top | wc -l)
14 git shortlog -s -n --no-merges $bottom..$top >"$tmp-0.txt"