From: Joey Hess Date: Mon, 7 Dec 2009 19:38:10 +0000 (-0500) Subject: call git remote prune to drop stale tracking branches X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/0294fdfb5c50e5af22acc14407a2b69c79360e44 call git remote prune to drop stale tracking branches --- diff --git a/gitremotes b/gitremotes index e2468814b..d49cf2d9e 100755 --- a/gitremotes +++ b/gitremotes @@ -28,6 +28,9 @@ while () { print "$remote failed\n"; } $error |= $r; + + # drop stale tracking branches + system("git", "remote", "prune", $remote); } } close IN;