From c2c57f0cfba182964359f0ee71f84fb1b935d10f Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 7 May 2010 17:46:21 +0100 Subject: gitremotes: don't fetch tags, other than from ikiwiki.info Getting this change in an existing git clone requires removing or reconfiguring the remotes. --- gitremotes | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gitremotes') diff --git a/gitremotes b/gitremotes index f596c650f..6c03011a8 100755 --- a/gitremotes +++ b/gitremotes @@ -16,7 +16,9 @@ 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", "-f", $remote, $url); + system("git", "config", "remote.$remote.tagopt", + "--no-tags"); } } } -- cgit v1.2.3