]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/onemerge: fix custom endpoint handling
authorJunio C Hamano <gitster@pobox.com>
Thu, 16 Jul 2026 18:40:01 +0000 (11:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Jul 2026 18:40:01 +0000 (11:40 -0700)
onemerge.sh

index 43f07f9d61abf88a5e12994123eb722678334145..4d353ea0ef9ee6b8cb52557d06c9450d472202bf 100755 (executable)
@@ -5,7 +5,7 @@
 endpoint=${1-seen}
 
 cnt1=$(git lgf --grep="Merge branch '" master..$endpoint | wc -l)
-cnt2=$(git branch --no-merged master --merged seen '??/*' | wc -l)
+cnt2=$(git branch --no-merged master --merged $endpoint '??/*' | wc -l)
 
 if test $cnt1 -eq $cnt2
 then