Index: gclient.py |
diff --git a/gclient.py b/gclient.py |
index c19e96309793f2c7c40edbffd2050f6358ec0d84..2ad86d3cd9c32af785ba8e1aad8b0097e6cf62ca 100644 |
--- a/gclient.py |
+++ b/gclient.py |
@@ -1476,6 +1476,10 @@ def CMDsync(parser, args): |
'has multiple solutions configured and will work even ' |
'if the src@ part is skipped. Note that specifying ' |
'--revision means your safesync_url gets ignored.') |
+ parser.add_option('--with_branch_heads', action='store_true', |
+ help='Clone git "branch_heads" refspecs in addition to ' |
+ 'the default refspecs. This adds about 1/2GB to a ' |
+ 'full checkout. (git only)') |
parser.add_option('-t', '--transitive', action='store_true', |
help='When a revision is specified (in the DEPS file or ' |
'with the command-line flag), transitively update ' |