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 6952727b7421614ecb8b9f1ffee9c167110b7e6e..5751c383c2834a54c99c81fe53ece454a0ca8c2b 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