chiark / gitweb /
tg-push: remove useless warning about missing bases for non-tgish branches
[topgit.git] / tg-push.sh
index 8d09a020846e7105210c34c96e868a56e962b183..40849ae1d66548bf33094b1f93ebd7dd35e9973d 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