diff options
author | Jonathan Nieder <jrn@google.com> | 2016-12-09 02:33:42 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-12-09 02:33:42 +0000 |
commit | 7de8c5db78da12aed8c93a06e7eb73bb37b63c9d (patch) | |
tree | d27cec30d63ef29d72078b09dd3f4d8b1c928dc2 /repo | |
parent | bb9c42cf1d9e43b190b775def2f111b2277b86ef (diff) | |
parent | f4dda9a1be396808fad0cda8316d3a0d6f839ee1 (diff) | |
download | git-repo-7de8c5db78da12aed8c93a06e7eb73bb37b63c9d.tar.gz |
Merge "init: Add no-tags and current branch options"
Diffstat (limited to 'repo')
-rwxr-xr-x | repo | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -23,7 +23,7 @@ REPO_REV = 'stable' | |||
23 | # limitations under the License. | 23 | # limitations under the License. |
24 | 24 | ||
25 | # increment this whenever we make important changes to this script | 25 | # increment this whenever we make important changes to this script |
26 | VERSION = (1, 23) | 26 | VERSION = (1, 24) |
27 | 27 | ||
28 | # increment this if the MAINTAINER_KEYS block is modified | 28 | # increment this if the MAINTAINER_KEYS block is modified |
29 | KEYRING_VERSION = (1, 2) | 29 | KEYRING_VERSION = (1, 2) |
@@ -175,6 +175,9 @@ group.add_option('-b', '--manifest-branch', | |||
175 | group.add_option('-m', '--manifest-name', | 175 | group.add_option('-m', '--manifest-name', |
176 | dest='manifest_name', | 176 | dest='manifest_name', |
177 | help='initial manifest file', metavar='NAME.xml') | 177 | help='initial manifest file', metavar='NAME.xml') |
178 | group.add_option('-c', '--current-branch', | ||
179 | dest='current_branch_only', action='store_true', | ||
180 | help='fetch only current manifest branch from server') | ||
178 | group.add_option('--mirror', | 181 | group.add_option('--mirror', |
179 | dest='mirror', action='store_true', | 182 | dest='mirror', action='store_true', |
180 | help='create a replica of the remote repositories ' | 183 | help='create a replica of the remote repositories ' |
@@ -202,6 +205,9 @@ group.add_option('-p', '--platform', | |||
202 | group.add_option('--no-clone-bundle', | 205 | group.add_option('--no-clone-bundle', |
203 | dest='no_clone_bundle', action='store_true', | 206 | dest='no_clone_bundle', action='store_true', |
204 | help='disable use of /clone.bundle on HTTP/HTTPS') | 207 | help='disable use of /clone.bundle on HTTP/HTTPS') |
208 | group.add_option('--no-tags', | ||
209 | dest='no_tags', action='store_true', | ||
210 | help="don't fetch tags in the manifest") | ||
205 | 211 | ||
206 | 212 | ||
207 | # Tool | 213 | # Tool |