From f7ef488e46a01153eb550f390b7228f3277f2f50 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 7 Sep 2009 17:53:14 -0700 Subject: [PATCH] cook.sh: do not barf on removed branch when listing Graduated to 'master' --- cook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"