From: Junio C Hamano Date: Tue, 8 Sep 2009 00:53:14 +0000 (-0700) Subject: cook.sh: do not barf on removed branch when listing Graduated to 'master' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7ef488e46a01153eb550f390b7228f3277f2f50;p=thirdparty%2Fgit.git cook.sh: do not barf on removed branch when listing Graduated to 'master' --- diff --git a/cook.sh b/cook.sh index 328b515fdc..56904fa59f 100755 --- a/cook.sh +++ b/cook.sh @@ -388,7 +388,7 @@ do test "$section" = 'Graduated to "master"' && test "$incremental" = no && continue - tip=$(git rev-parse --quiet --verify "refs/heads/$branch") + tip=$(git rev-parse --quiet --verify "refs/heads/$branch") || continue mb=$(git merge-base master $tip) test "$mb" = "$tip" || continue if test -n "$current"