diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-09 12:56:07 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-09 12:56:07 -0400 |
commit | 7f894a025da2c7cfc851d3c60cadc33c586c78d1 (patch) | |
tree | 936f0df33a2e5277f40665037ca33931e1aae4a3 /gitremotes | |
parent | 0badce2ec03d9db1f6034546eabef097a5d7354d (diff) | |
parent | 2d60e55303fbabe70b42ee31703a8d4aca2d8460 (diff) |
Merge remote branch 'smcv/ready/no-tags'
Diffstat (limited to 'gitremotes')
-rwxr-xr-x | gitremotes | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gitremotes b/gitremotes index 6c03011a8..5cafad1b8 100755 --- 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); } } } |