X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/958e83230d36bbf995329981a659ee69717a0451..778d9e50d41d7ed2c1b2a2bf5cad52f089c94122:/gitremotes?ds=inline diff --git a/gitremotes b/gitremotes index f596c650f..5cafad1b8 100755 --- a/gitremotes +++ b/gitremotes @@ -16,7 +16,10 @@ while () { 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); } } }