Minor fix for WI script
authorJunio C Hamano <junkio@cox.net>
Sun, 19 Feb 2006 08:54:54 +0000 (00:54 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 19 Feb 2006 08:54:54 +0000 (00:54 -0800)
WI

diff --git a/WI b/WI
index c68e02d..60ee92c 100755 (executable)
--- a/WI
+++ b/WI
@@ -5,7 +5,9 @@ has_msg=' has these since the last announcement.'
 in_addition=
 for m in master next pu
 do
-       tagged=`git rev-parse --not --verify tags/sa/$m 2>/dev/null`
+       tagged=`git rev-parse --not --verify tags/sa/$m 2>/dev/null` ||
+       test "$m" != pu || exit
+
        list=`git-rev-list $in_addition $tagged heads/$m 2>/dev/null` &&
        test -n "$list" || continue