aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Margiolis <christos@FreeBSD.org>2023-05-22 19:49:32 +0000
committerChristos Margiolis <christos@FreeBSD.org>2023-05-22 19:49:32 +0000
commit0c08479898e6d4d4dab071a19d906661947af108 (patch)
tree0c8a8886827dfdf6b08839914028e0124102b249
parent0688eac1f9d6a25f4d75ceca1fb1e32993bdb17c (diff)
downloadsrc-0c08479898e6d4d4dab071a19d906661947af108.tar.gz
src-0c08479898e6d4d4dab071a19d906661947af108.zip
git-arc: mention creation of separate reviews in man page
Reviewed by: imp Approved by: markj (mentor) Differential Revision: https://reviews.freebsd.org/D39963
-rw-r--r--tools/tools/git/git-arc.113
1 files 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