Commit f2fb5e7f authored by iannucci@chromium.org's avatar iannucci@chromium.org

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
parent ee740705
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment