mirror of
https://github.com/git/git.git
synced 2026-01-20 23:52:52 +00:00
Meta/cycle-run: draw a plan just once for both merges and individual commits
This commit is contained in:
10
cycle-run
10
cycle-run
@@ -73,11 +73,11 @@ test_them () {
|
||||
M)
|
||||
type=M
|
||||
commit=$merge
|
||||
subject=$(git show -s --format="%s" "$merge") ;;
|
||||
subject=$(git show -s --format="%s" "$commit") ;;
|
||||
C)
|
||||
type=C
|
||||
commit=$merge
|
||||
subject=$(git show -s --format="%s" "$merge") ;;
|
||||
subject=$(git show -s --format="%s" "$commit") ;;
|
||||
*)
|
||||
type=T
|
||||
commit=$tip
|
||||
@@ -111,5 +111,7 @@ do
|
||||
git rev-parse --verify "$x" >/dev/null 2>&1 || rm -f "$l"
|
||||
done
|
||||
|
||||
git fetch
|
||||
git rev-list --no-merges $RANGE | test_them
|
||||
git fetch
|
||||
(
|
||||
git rev-list --no-merges $RANGE
|
||||
git rev-list --first-parent --parents $RANGE
|
||||
|
||||
Reference in New Issue
Block a user