X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=tg-push.sh;h=199d7389b48ea4563ac2217022f410b2aebf4d4b;hb=294846dad135e8258f037b6695fb9c0cacc77e8e;hp=cd208a06413878de19fde4eb166717158a44c4e6;hpb=78e14da53be2b27247632e6e362668f780a399a2;p=topgit.git diff --git a/tg-push.sh b/tg-push.sh index cd208a0..199d738 100644 --- a/tg-push.sh +++ b/tg-push.sh @@ -53,6 +53,10 @@ push_branch() # if so desired omit non tgish deps $tgish_deps_only && [ -z "$_dep_is_tgish" ] && return 0 + # filter out plain SHA1s. These don't need to be pushed explicitly as + # the patches that depend on the sha1 have it already in their ancestry. + is_sha1 "$_dep" && return 0 + echo "$_dep" >> "$_listfile" [ -z "$_dep_is_tgish" ] || echo "top-bases/$_dep" >> "$_listfile"