projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fe1eb7
)
call git remote prune to drop stale tracking branches
author
Joey Hess
<joey@gnu.kitenet.net>
Mon, 7 Dec 2009 19:38:10 +0000
(14:38 -0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Mon, 7 Dec 2009 19:38:10 +0000
(14:38 -0500)
gitremotes
patch
|
blob
|
history
diff --git
a/gitremotes
b/gitremotes
index e2468814b01155f99ae7d7716851eb523e3e6220..d49cf2d9eff41cc001d9b5c6145b1d9a20e69050 100755
(executable)
--- a/
gitremotes
+++ b/
gitremotes
@@
-28,6
+28,9
@@
while (<IN>) {
print "$remote failed\n";
}
$error |= $r;
+
+ # drop stale tracking branches
+ system("git", "remote", "prune", $remote);
}
}
close IN;