From 0294fdfb5c50e5af22acc14407a2b69c79360e44 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 7 Dec 2009 14:38:10 -0500 Subject: [PATCH] call git remote prune to drop stale tracking branches --- gitremotes | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.26.2