From: Bert Wesarg Date: Wed, 27 May 2009 08:16:22 +0000 (+0200) Subject: tg-push: remove useless warning about missing bases for non-tgish branches X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topgit.git;a=commitdiff_plain;h=9220634afcbdc8958ed44d84eaf2dc378cf12efd tg-push: remove useless warning about missing bases for non-tgish branches 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 --- 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