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

Unified Diff: gclient.py

Issue 278043005: Pass shallow flag through gclient to git_cache.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 7 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 | gclient_scm.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
diff --git a/gclient.py b/gclient.py
index 3ac66e7639a12a0c75912130bdb970eb8e266a66..33f7911f0f3afa7688abc11adeebc95157bfcbb2 100755
--- a/gclient.py
+++ b/gclient.py
@@ -1738,6 +1738,9 @@ def CMDsync(parser, args):
parser.add_option('--output-json',
help='Output a json document to this path containing '
'summary information about the sync.')
+ parser.add_option('--shallow', action='store_true',
+ help='GIT ONLY - Do a shallow clone into the cache dir. '
+ 'Requires Git 1.9+')
(options, args) = parser.parse_args(args)
client = GClient.LoadCurrentConfig(options)
« no previous file with comments | « no previous file | gclient_scm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698