From 9220634afcbdc8958ed44d84eaf2dc378cf12efd Mon Sep 17 00:00:00 2001 From: Bert Wesarg Date: Wed, 27 May 2009 10:16:22 +0200 Subject: [PATCH] tg-push: remove useless warning about missing bases for non-tgish branches MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Uwe Kleine-König --- tg-push.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tg-push.sh b/tg-push.sh index 8d09a02..40849ae 100644 --- a/tg-push.sh +++ b/tg-push.sh @@ -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 -- 2.30.2