git: 0c08479898e6 - main - git-arc: mention creation of separate reviews in man page
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 May 2023 19:50:09 UTC
The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=0c08479898e6d4d4dab071a19d906661947af108 commit 0c08479898e6d4d4dab071a19d906661947af108 Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2023-05-22 19:49:32 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2023-05-22 19:49:32 +0000 git-arc: mention creation of separate reviews in man page Reviewed by: imp Approved by: markj (mentor) Differential Revision: https://reviews.freebsd.org/D39963 --- tools/tools/git/git-arc.1 | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tools/tools/git/git-arc.1 b/tools/tools/git/git-arc.1 index 63227ad760fa..c816de672984 100644 --- a/tools/tools/git/git-arc.1 +++ b/tools/tools/git/git-arc.1 @@ -37,19 +37,19 @@ .Op Fl r Ar reviewer1 Ns Op Cm \&, Ns Ar reviewer2 ... .Op Fl s Ar subscriber1 Ns Op Cm \&, Ns Ar subscriber2 ... .Op Fl p Ar parent -.Op Ar commit Ns | Ns Ar commit-range +.Op Ar commit ... Ns | Ns Ar commit-range .Nm -.Cm list Ar commit Ns | Ns Ar commit-range +.Cm list Ar commit ... Ns | Ns Ar commit-range .Nm .Cm patch Ar diff1 Ns Op Cm \&, Ns Ar diff2 .Nm .Cm stage .Op Fl b Ar branch -.Op Ar commit Ns | Ns Ar commit-range +.Op Ar commit ... Ns | Ns Ar commit-range .Nm .Cm update .Op Fl m Ar message -.Op Ar commit Ns | Ns Ar commit-range +.Op Ar commit ... Ns | Ns Ar commit-range .Sh DESCRIPTION The .Nm @@ -191,6 +191,11 @@ $ git arc create HEAD~3..HEAD Pairs of consecutive commits are linked into a patch stack. Note that the first commit in the specified range is excluded. .Pp +Create a series of separate reviews for each of the following commits: +.Bd -literal -offset indent +$ git arc create b409afcfedcdda ca03ed1345aff0 +.Ed +.Pp Update the review corresponding to commit b409afcfedcdda: .Bd -literal -offset indent $ git arc update b409afcfedcdda