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

Unified Diff: git_cache.py

Issue 202753003: Rationalize the git config settings for index-pack performance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: comment Created 6 years, 9 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
« gclient_utils.py ('K') | « gclient_utils.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cache.py
diff --git a/git_cache.py b/git_cache.py
index dfda1d7348f6a1bde6bca63f2fa5c372b69287cd..9ef4873874e34557211344623e4b41fadfe7d310 100755
--- a/git_cache.py
+++ b/git_cache.py
@@ -181,8 +181,8 @@ def CMDpopulate(parser, args):
d = ['--depth', '%d' % options.depth]
def _config(directory):
- RunGit(['config', 'core.deltaBaseCacheLimit', '2g'],
- cwd=directory)
+ RunGit(['config', 'core.deltaBaseCacheLimit',
+ gclient_utils.DefaultDeltaBaseCacheLimit()], cwd=directory)
RunGit(['config', 'remote.origin.url', url],
cwd=directory)
RunGit(['config', '--replace-all', 'remote.origin.fetch',
« gclient_utils.py ('K') | « gclient_utils.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698