From c3553743cfe71c4f8fa1a1d5ad471baf72635b3e Mon Sep 17 00:00:00 2001 From: "agable@chromium.org" Date: Thu, 27 Feb 2014 19:01:09 +0000 Subject: [PATCH] Remove --update-shallow from git-cache. R=hinoka@chromium.org BUG=339171 Review URL: https://codereview.chromium.org/183643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@253887 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_cache.py b/git_cache.py index 77463a601..79f0b8cf2 100755 --- a/git_cache.py +++ b/git_cache.py @@ -218,7 +218,7 @@ def CMDpopulate(parser, args): _config(repo_dir) if options.depth and os.path.exists(os.path.join(repo_dir, 'shallow')): logging.warn('Shallow fetch requested, but repo cache already exists.') - fetch_cmd = ['fetch'] + v + ['--update-shallow', '--tags', 'origin'] + fetch_cmd = ['fetch'] + v + ['--tags', 'origin'] RunGit(fetch_cmd, filter_fn=filter_fn, cwd=repo_dir, retry=True)