Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
testing the sandbox
[git.ikiwiki.info.git]
/
gitremotes
diff --git
a/gitremotes
b/gitremotes
index f596c650f56f1a96b2b53ec5aeb7ad85f818b6d3..5cafad1b8dcb550c694567b7815978a7861fc6fe 100755
(executable)
--- 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");
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);
}
}
}
}
}
}