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) |