From: Rudolf Polzer Date: Tue, 6 Mar 2012 19:25:08 +0000 (+0100) Subject: clean --reclone: also delete local tags X-Git-Tag: xonotic-v0.6.0~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cef8370975f87d3eccab1094ec7d4df7b5d511e0;p=xonotic%2Fxonotic.git clean --reclone: also delete local tags --- diff --git a/misc/tools/all/git.subr b/misc/tools/all/git.subr index b2b84231..93fb0040 100644 --- a/misc/tools/all/git.subr +++ b/misc/tools/all/git.subr @@ -660,6 +660,9 @@ 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 + verbose git tag -d "$t" + done verbose git fetch "$rem" verbose git remote prune "$rem" fi