diff options
author | Mike Frysinger <vapier@google.com> | 2024-06-30 20:12:07 -0400 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-07-01 17:54:19 +0000 |
commit | 87f52f308c48c11a99cefcc308a0994abeb2a7ff (patch) | |
tree | 00f47a3ee2fa49753e562622c7f655788ad73bdd /man/repo-upload.1 | |
parent | 562cea77580d5f217be73f21757c7d5b32d2d11f (diff) | |
download | git-repo-87f52f308c48c11a99cefcc308a0994abeb2a7ff.tar.gz |
upload: add a --topic option for setting topic explicitly
Let people specify the exact topic when uploading CLs. The existing
-t option only supports setting the topic to the current local branch.
Add a --topic-branch long option to the existing -t to align it a bit
better with --hashtag & --hashtag-branch.
Change-Id: I010abc4a7f3c685021cae776dd1e597c22b79135
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/431997
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'man/repo-upload.1')
-rw-r--r-- | man/repo-upload.1 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/man/repo-upload.1 b/man/repo-upload.1 index bb11dfa3..c0ae5816 100644 --- a/man/repo-upload.1 +++ b/man/repo-upload.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" "April 2024" "repo upload" "Repo Manual" | 2 | .TH REPO "1" "June 2024" "repo upload" "Repo Manual" |
3 | .SH NAME | 3 | .SH NAME |
4 | repo \- repo upload - manual page for repo upload | 4 | repo \- repo upload - manual page for repo upload |
5 | .SH SYNOPSIS | 5 | .SH SYNOPSIS |
@@ -18,8 +18,11 @@ show this help message and exit | |||
18 | number of jobs to run in parallel (default: based on | 18 | number of jobs to run in parallel (default: based on |
19 | number of CPU cores) | 19 | number of CPU cores) |
20 | .TP | 20 | .TP |
21 | \fB\-t\fR | 21 | \fB\-t\fR, \fB\-\-topic\-branch\fR |
22 | send local branch name to Gerrit Code Review | 22 | set the topic to the local branch name |
23 | .TP | ||
24 | \fB\-\-topic\fR=\fI\,TOPIC\/\fR | ||
25 | set topic for the change | ||
23 | .TP | 26 | .TP |
24 | \fB\-\-hashtag\fR=\fI\,HASHTAGS\/\fR, \fB\-\-ht\fR=\fI\,HASHTAGS\/\fR | 27 | \fB\-\-hashtag\fR=\fI\,HASHTAGS\/\fR, \fB\-\-ht\fR=\fI\,HASHTAGS\/\fR |
25 | add hashtags (comma delimited) to the review | 28 | add hashtags (comma delimited) to the review |