From 0c08479898e6d4d4dab071a19d906661947af108 Mon Sep 17 00:00:00 2001 From: Christos Margiolis Date: Mon, 22 May 2023 22:49:32 +0300 Subject: 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 -- cgit v1.2.3