summaryrefslogtreecommitdiff
path: root/gitremotes
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-06-25 14:38:37 +0200
committerintrigeri <intrigeri@boum.org>2010-06-25 14:38:37 +0200
commit9f401d6617a11efcedda1c956b2ccea061a7540f (patch)
treea5648589b38487427a58a7ebacfdc036a5dd102a /gitremotes
parent73f4a8835876c8cb07808367cd72d9ae972893e8 (diff)
parent71950b2ae5ff6fd3b631c5504455cc07699b1c11 (diff)
Merge remote branch 'upstream/master' into prv/po
Conflicts: IkiWiki/Plugin/po.pm
Diffstat (limited to 'gitremotes')
-rwxr-xr-xgitremotes5
1 files changed, 4 insertions, 1 deletions
diff --git a/gitremotes b/gitremotes
index f596c650f..5cafad1b8 100755
--- a/gitremotes
+++ b/gitremotes
@@ -16,7 +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);
}
}
}