From: Junio C Hamano Date: Thu, 26 Apr 2012 20:36:01 +0000 (-0700) Subject: Meta/ML: fix bogus 'gone' check X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fd92054d1e7d9ce735c44cb611eab8816470ab9;p=thirdparty%2Fgit.git Meta/ML: fix bogus 'gone' check --- diff --git a/ML b/ML index 8a3c2de328..650a00d6e9 100755 --- 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