diff options
| -rw-r--r-- | man/repo-gitc-init.1 | 3 | ||||
| -rw-r--r-- | man/repo-init.1 | 3 | ||||
| -rwxr-xr-x | repo | 6 |
3 files changed, 7 insertions, 5 deletions
diff --git a/man/repo-gitc-init.1 b/man/repo-gitc-init.1 index 2858e735..88136de6 100644 --- a/man/repo-gitc-init.1 +++ b/man/repo-gitc-init.1 | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. |
| 2 | .TH REPO "1" "July 2022" "repo gitc-init" "Repo Manual" | 2 | .TH REPO "1" "August 2022" "repo gitc-init" "Repo Manual" |
| 3 | .SH NAME | 3 | .SH NAME |
| 4 | repo \- repo gitc-init - manual page for repo gitc-init | 4 | repo \- repo gitc-init - manual page for repo gitc-init |
| 5 | .SH SYNOPSIS | 5 | .SH SYNOPSIS |
| @@ -49,6 +49,7 @@ create a git checkout of the manifest repo | |||
| 49 | .TP | 49 | .TP |
| 50 | \fB\-\-current\-branch\fR | 50 | \fB\-\-current\-branch\fR |
| 51 | fetch only current manifest branch from server | 51 | fetch only current manifest branch from server |
| 52 | (default) | ||
| 52 | .TP | 53 | .TP |
| 53 | \fB\-\-no\-current\-branch\fR | 54 | \fB\-\-no\-current\-branch\fR |
| 54 | fetch all manifest branches from server | 55 | fetch all manifest branches from server |
diff --git a/man/repo-init.1 b/man/repo-init.1 index 1cd1e5f1..32b3ea1b 100644 --- a/man/repo-init.1 +++ b/man/repo-init.1 | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. |
| 2 | .TH REPO "1" "July 2022" "repo init" "Repo Manual" | 2 | .TH REPO "1" "August 2022" "repo init" "Repo Manual" |
| 3 | .SH NAME | 3 | .SH NAME |
| 4 | repo \- repo init - manual page for repo init | 4 | repo \- repo init - manual page for repo init |
| 5 | .SH SYNOPSIS | 5 | .SH SYNOPSIS |
| @@ -49,6 +49,7 @@ create a git checkout of the manifest repo | |||
| 49 | .TP | 49 | .TP |
| 50 | \fB\-c\fR, \fB\-\-current\-branch\fR | 50 | \fB\-c\fR, \fB\-\-current\-branch\fR |
| 51 | fetch only current manifest branch from server | 51 | fetch only current manifest branch from server |
| 52 | (default) | ||
| 52 | .TP | 53 | .TP |
| 53 | \fB\-\-no\-current\-branch\fR | 54 | \fB\-\-no\-current\-branch\fR |
| 54 | fetch all manifest branches from server | 55 | fetch all manifest branches from server |
| @@ -149,7 +149,7 @@ if not REPO_REV: | |||
| 149 | BUG_URL = 'https://bugs.chromium.org/p/gerrit/issues/entry?template=Repo+tool+issue' | 149 | BUG_URL = 'https://bugs.chromium.org/p/gerrit/issues/entry?template=Repo+tool+issue' |
| 150 | 150 | ||
| 151 | # increment this whenever we make important changes to this script | 151 | # increment this whenever we make important changes to this script |
| 152 | VERSION = (2, 21) | 152 | VERSION = (2, 29) |
| 153 | 153 | ||
| 154 | # increment this if the MAINTAINER_KEYS block is modified | 154 | # increment this if the MAINTAINER_KEYS block is modified |
| 155 | KEYRING_VERSION = (2, 3) | 155 | KEYRING_VERSION = (2, 3) |
| @@ -325,9 +325,9 @@ def InitParser(parser, gitc_init=False): | |||
| 325 | # want -c, so try to satisfy both as best we can. | 325 | # want -c, so try to satisfy both as best we can. |
| 326 | if not gitc_init: | 326 | if not gitc_init: |
| 327 | cbr_opts += ['-c'] | 327 | cbr_opts += ['-c'] |
| 328 | group.add_option(*cbr_opts, | 328 | group.add_option(*cbr_opts, default=True, |
| 329 | dest='current_branch_only', action='store_true', | 329 | dest='current_branch_only', action='store_true', |
| 330 | help='fetch only current manifest branch from server') | 330 | help='fetch only current manifest branch from server (default)') |
| 331 | group.add_option('--no-current-branch', | 331 | group.add_option('--no-current-branch', |
| 332 | dest='current_branch_only', action='store_false', | 332 | dest='current_branch_only', action='store_false', |
| 333 | help='fetch all manifest branches from server') | 333 | help='fetch all manifest branches from server') |
