mirror of
https://github.com/git/git.git
synced 2026-01-12 05:43:12 +09:00
33 lines
448 B
Bash
Executable File
33 lines
448 B
Bash
Executable File
#!/bin/sh
|
|
|
|
for range in $(
|
|
prev_branch=
|
|
{
|
|
git for-each-ref --format='%(refname)' refs/heads/maint-* |
|
|
sed -e 's|^refs/heads/||'
|
|
cat <<-EOF
|
|
maint
|
|
master
|
|
next
|
|
EOF
|
|
} |
|
|
while read branch
|
|
do
|
|
if test -n "$prev_branch"
|
|
then
|
|
echo "$branch..$prev_branch"
|
|
fi
|
|
prev_branch=$branch
|
|
done
|
|
) pu..jch
|
|
do
|
|
lg=$(git log --oneline "$range")
|
|
if test -n "$lg"
|
|
then
|
|
echo "*** $range ***"
|
|
echo "$lg"
|
|
fi
|
|
done
|
|
|
|
git diff --stat next jch
|