chiark / gitweb /
tg-push: remove useless warning about missing bases for non-tgish branches
authorBert Wesarg <bert.wesarg@googlemail.com>
Wed, 27 May 2009 08:16:22 +0000 (10:16 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 28 May 2009 08:30:06 +0000 (10:30 +0200)
The call to ref_exists() isn't needed because $_dep_is_tgish from
recurse_deps() gives us exactly this information.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
tg-push.sh

index 8d09a02..40849ae 100644 (file)
@@ -51,12 +51,8 @@ push_branch()
        $tgish_deps_only && [ -z "$_dep_is_tgish" ] && return 0
 
        echo "$_dep"
-       local base="top-bases/$_dep"
-       if ref_exists "$base"; then
+       [ -z "$_dep_is_tgish" ] ||
                echo "top-bases/$_dep"
-       else
-               echo "warning, no base found $base" 1>&2
-       fi
 }
 
 for name in $branches; do