From 87f52f308c48c11a99cefcc308a0994abeb2a7ff Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 30 Jun 2024 20:12:07 -0400 Subject: 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 Reviewed-by: Gavin Mak Commit-Queue: Mike Frysinger --- man/repo-upload.1 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'man/repo-upload.1') 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 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man. -.TH REPO "1" "April 2024" "repo upload" "Repo Manual" +.TH REPO "1" "June 2024" "repo upload" "Repo Manual" .SH NAME repo \- repo upload - manual page for repo upload .SH SYNOPSIS @@ -18,8 +18,11 @@ show this help message and exit number of jobs to run in parallel (default: based on number of CPU cores) .TP -\fB\-t\fR -send local branch name to Gerrit Code Review +\fB\-t\fR, \fB\-\-topic\-branch\fR +set the topic to the local branch name +.TP +\fB\-\-topic\fR=\fI\,TOPIC\/\fR +set topic for the change .TP \fB\-\-hashtag\fR=\fI\,HASHTAGS\/\fR, \fB\-\-ht\fR=\fI\,HASHTAGS\/\fR add hashtags (comma delimited) to the review -- cgit v1.2.3-54-g00ecf