6 git for-each-ref
--format='%(refname)' refs
/heads
/maint-
* |
7 sed -e 's|^refs/heads/||'
16 if test -n "$prev_branch"
18 echo "$branch..$prev_branch"
24 lg
=$
(git log
--oneline "$range")
32 if next_tree
=$
(git rev-parse next^
{tree
}) &&
33 next_equiv
=$
(git rev-list jch..pu |
35 echo $(git rev-parse $1^{tree}) $1
36 ' - |
sed -n -e "s/^$next_tree //p"
40 jch
=$
(git rev-list
--first-parent master..jch |
wc -l) &&
41 pu
=$
(git rev-list
--first-parent master..pu |
wc -l) &&
42 next
=$
(git rev-list
--first-parent master..
$next_equiv |
wc -l) &&
45 git
diff --stat next jch