diff options
author | Conley Owens <cco3@android.com> | 2013-12-18 17:44:58 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-12-18 17:44:59 +0000 |
commit | f045d49a71b64b854589c8821d8bf220c6ed9fd3 (patch) | |
tree | b4facc31b41327b5478b12e9213b4f4179ebb171 /repo | |
parent | 53d6a7b8955e9377cc0a12206be357e7936621b1 (diff) | |
parent | 335f5ef4ad25a85c69fe6d8c848c5d1d447e22c8 (diff) | |
download | git-repo-f045d49a71b64b854589c8821d8bf220c6ed9fd3.tar.gz |
Merge "Add --archive option to init to sync using git archive"
Diffstat (limited to 'repo')
-rwxr-xr-x | repo | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -180,6 +180,10 @@ group.add_option('--reference', | |||
180 | group.add_option('--depth', type='int', default=None, | 180 | group.add_option('--depth', type='int', default=None, |
181 | dest='depth', | 181 | dest='depth', |
182 | help='create a shallow clone with given depth; see git clone') | 182 | help='create a shallow clone with given depth; see git clone') |
183 | group.add_option('--archive', | ||
184 | dest='archive', action='store_true', | ||
185 | help='checkout an archive instead of a git repository for ' | ||
186 | 'each project. See git archive.') | ||
183 | group.add_option('-g', '--groups', | 187 | group.add_option('-g', '--groups', |
184 | dest='groups', default='default', | 188 | dest='groups', default='default', |
185 | help='restrict manifest projects to ones with specified ' | 189 | help='restrict manifest projects to ones with specified ' |