Commit c3553743 authored by agable@chromium.org's avatar agable@chromium.org

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
parent bd4dafb9
......@@ -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)
......
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