CheckPush: 'next' could be identical to 'master'

Junio C Hamano committed Nov 8, 2023 at 15:09 UTC 34e2cba4164d0cfdb928a6bf2354bba8dc7018df
1 file changed +1 -1
CheckPush
+1 -1
@@ -63,7 +63,7 @@ if ! next_equiv=$(git rev-parse --verify 'jch^{/^### match next}' 2>/dev/null) |
63 ! git diff --stat --exit-code next $next_equiv
64 then
65 next_tree=$(git rev-parse next^{tree}) &&
66 - next_equiv=$(git rev-list --first-parent $MASTER..seen |
66 + next_equiv=$(git rev-list --first-parent $MASTER^..seen |
67 xargs -n1 sh -c '
68 echo $(git rev-parse $1^{tree}) $1
69 ' - | sed -n -e "s/^$next_tree //p"