From f2fb5e7f8cdf7e0d6b45e4f119e7b0a57f31679c Mon Sep 17 00:00:00 2001 From: "iannucci@chromium.org" Date: Thu, 3 Apr 2014 02:36:44 +0000 Subject: [PATCH] Have fetch set up tag fetch refspecs. R=agable@chromium.org BUG= Review URL: https://codereview.chromium.org/212413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@261264 0039d316-1c4b-4281-b951-d872f2087c98 --- fetch.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fetch.py b/fetch.py index dfd038641..5d595f45a 100755 --- a/fetch.py +++ b/fetch.py @@ -124,6 +124,9 @@ class GclientGitCheckout(GclientCheckout, GitCheckout): 'submodule', 'foreach', 'git config -f $toplevel/.git/config submodule.$name.ignore all', cwd=wd) + self.run_git( + 'config', '--add', 'remote.origin.fetch', + '+refs/tags/*:refs/tags/*', cwd=wd) self.run_git('config', 'diff.ignoreSubmodules', 'all', cwd=wd)