]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
only kill xonotic version tags
authorRudolf Polzer <divverent@alientrap.org>
Tue, 6 Mar 2012 19:26:53 +0000 (20:26 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 6 Mar 2012 19:26:53 +0000 (20:26 +0100)
misc/tools/all/git.subr

index 93fb004042496f4b7beee6d72e509ecc0c608bc1..1b32f6eda2c227d189c66c9f3af3180e3efa6b91 100644 (file)
@@ -660,7 +660,7 @@ case "$cmd" in
                                        bra=`git config "branch.$r.merge" || $ECHO "$r"`
                                        upstream="$rem/${bra#refs/heads/}"
                                        if $fetchupstream; then
-                                               for t in `git tag`; do
+                                               for t in `git tag -l "xonotic-v"*`; do
                                                        verbose git tag -d "$t"
                                                done
                                                verbose git fetch "$rem"