chiark / gitweb /
git-branchmove: Avoid transporting tags about
[chiark-utils.git] / 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