projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb3156
)
gitremotes: don't fetch the new remote until we've turned off tags
author
Simon McVittie
<smcv@debian.org>
Sun, 9 May 2010 15:44:47 +0000
(16:44 +0100)
committer
Simon McVittie
<smcv@debian.org>
Sun, 9 May 2010 15:44:47 +0000
(16:44 +0100)
gitremotes
patch
|
blob
|
history
diff --git
a/gitremotes
b/gitremotes
index 6c03011a8cb5ac73a90edb1e74dab102c55eb9d5..5cafad1b8dcb550c694567b7815978a7861fc6fe 100755
(executable)
--- a/
gitremotes
+++ b/
gitremotes
@@
-16,9
+16,10
@@
while (<IN>) {
my ($oldurl)=$info=~/URL: (.*)/m;
if ($oldurl ne $url) {
system("git remote rm $remote 2>/dev/null");
- system("git", "remote", "add",
"-f",
$remote, $url);
+ system("git", "remote", "add", $remote, $url);
system("git", "config", "remote.$remote.tagopt",
"--no-tags");
+ system("git", "fetch", $remote);
}
}
}