X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topgit.git;a=blobdiff_plain;f=tg-push.sh;fp=tg-push.sh;h=cd208a06413878de19fde4eb166717158a44c4e6;hp=8e1b43fdea767f1c2a3e1b90ebfc2ed4343bdbbe;hb=78e14da53be2b27247632e6e362668f780a399a2;hpb=4f54f29da0f2f7e9f693981b7b78e73d77bec123 diff --git a/tg-push.sh b/tg-push.sh index 8e1b43f..cd208a0 100644 --- a/tg-push.sh +++ b/tg-push.sh @@ -67,8 +67,8 @@ for name in $branches; do _dep_is_tgish= push_branch "$name" - # deps - $recurse_deps && + # deps but only if branch is tgish + $recurse_deps && [ -n "$_dep_is_tgish" ] && no_remotes=1 recurse_deps push_branch "$name" # remove multiple occurrences of the same branch