chiark / gitweb /
git-branchmove: Avoid transporting tags about
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 8 Nov 2018 15:42:24 +0000 (15:42 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 8 Nov 2018 15:42:24 +0000 (15:42 +0000)
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
scripts/git-branchmove

index 6952727..5751c38 100755 (executable)
@@ -155,8 +155,8 @@ for src_xfer in "${src_branches[@]}"; do
 done
 
 case "$op" in
-put)   git push "$remote" "${refspecs[@]}"     ;;
-get)   git fetch "$remote" "${refspecs[@]}"    ;;
+put)   git push --no-follow-tags "$remote" "${refspecs[@]}"    ;;
+get)   git fetch --no-tags "$remote" "${refspecs[@]}"  ;;
 *)     fail "unknown $op ???"                  ;;
 esac