]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/ML: fix bogus 'gone' check
authorJunio C Hamano <gitster@pobox.com>
Thu, 26 Apr 2012 20:36:01 +0000 (13:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Apr 2012 20:36:01 +0000 (13:36 -0700)
ML

diff --git a/ML b/ML
index 8a3c2de328ed0ba07b03bc47af08070f83766f3b..650a00d6e96744046913d47e026c31d7a310cce1 100755 (executable)
--- a/ML
+++ b/ML
@@ -22,8 +22,7 @@ search_topics () {
                fi
 
                comment=
-               if ! git show-ref --quiet --verify "refs/heads/$topic" ||
-                   test $(git log --oneline $target..$full_sha1 | wc -l) != 0
+               if ! git show-ref --quiet --verify "refs/heads/$topic"
                then
                        comment="$topic gone"
                        tip=$full_sha1 topic=$sha1