Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1103)

Unified Diff: gclient_scm.py

Issue 140553007: Change --mirror to --bare in gclient_scm.py for cache directories (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_scm.py
diff --git a/gclient_scm.py b/gclient_scm.py
index 313063409abf542089fa89688c922050c8ee40e4..1595f8de9d328969fa97b728c33c4ddf8cfa61a8 100644
--- a/gclient_scm.py
+++ b/gclient_scm.py
@@ -796,7 +796,7 @@ class GitWrapper(SCMWrapper):
if not os.path.exists(os.path.join(folder, 'config')):
gclient_utils.rmtree(folder)
cmd = ['clone'] + v + ['-c', 'core.deltaBaseCacheLimit=2g',
- '--progress', '--mirror']
+ '--progress', '--bare']
if use_reference:
cmd += ['--reference', os.path.abspath(self.checkout_path)]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698