Index: fetch.py |
diff --git a/fetch.py b/fetch.py |
index dfd038641b7d18cf17b0c5aa55eefc6b35502482..5d595f45aac6711407c7fc4250f303d8f0917dd7 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) |