Index: gclient.py |
diff --git a/gclient.py b/gclient.py |
index b60884a0c2742bd55b43f01ddc5e5380af216bff..a297fba96c953ff5bdb60d7b67fcab9537bd2492 100755 |
--- a/gclient.py |
+++ b/gclient.py |
@@ -1808,6 +1808,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('--no-history', action='store_true', |
+ help='GIT ONLY - Reduces the size/time of the checkout at ' |
+ 'the cost of no history. Requires Git 1.9+') |
parser.add_option('--shallow', action='store_true', |
help='GIT ONLY - Do a shallow clone into the cache dir. ' |
'Requires Git 1.9+') |