Index: gclient.py |
diff --git a/gclient.py b/gclient.py |
index eb8b3c3991d583536195a10c09669d9f9d3d1c43..3e35ebde498aab6f60c451ece2c789a0343fbf09 100755 |
--- a/gclient.py |
+++ b/gclient.py |
@@ -1778,6 +1778,8 @@ def CMDsync(parser, args): |
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('--with_tags', action='store_true', |
+ help='Clone git tags in addition to the default refspecs.') |
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 ' |