From: Rudolf Polzer Date: Sat, 25 Sep 2010 09:06:44 +0000 (+0200) Subject: also remote prune origin when using --reclone X-Git-Tag: xonotic-v0.1.0preview~191 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b020f3b152b14c52cd814dbf111fe4d464fde1b0;p=xonotic%2Fxonotic.git also remote prune origin when using --reclone --- diff --git a/all b/all index 365ef686..26c43f2e 100755 --- a/all +++ b/all @@ -950,6 +950,7 @@ case "$cmd" in if $gotomaster; then if $fetchupstream; then verbose git fetch origin + verbose git remote prune origin fi verbose git checkout -f "`repobranch "$d"`" verbose git reset --hard origin/"`repobranch "$d"`" @@ -961,6 +962,7 @@ case "$cmd" in upstream="$rem/${bra#refs/heads/}" if $fetchupstream; then verbose git fetch "$rem" + verbose git remote prune "$rem" fi if ! git rev-parse "$upstream" >/dev/null 2>&1; then upstream="origin/`repobranch "$d"`"