git: 976ab1425da4 - main - git-arc: Document how a reviewer group can be referenced

From: Igor Ostapenko <igoro_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 10:38:49 UTC
The branch main has been updated by igoro:

URL: https://cgit.FreeBSD.org/src/commit/?id=976ab1425da44b0dbd2b832599db229a1efc2d9e

commit 976ab1425da44b0dbd2b832599db229a1efc2d9e
Author:     Igor Ostapenko <igoro@FreeBSD.org>
AuthorDate: 2024-11-21 10:36:50 +0000
Commit:     Igor Ostapenko <igoro@FreeBSD.org>
CommitDate: 2024-11-21 10:36:50 +0000

    git-arc: Document how a reviewer group can be referenced
    
    Reviewed by:    concussious.bugzilla_runbox.com, markj
    Approved by:    markj (mentor)
    Differential Revision:  https://reviews.freebsd.org/D47669
---
 tools/tools/git/git-arc.1  | 5 ++++-
 tools/tools/git/git-arc.sh | 4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/tools/tools/git/git-arc.1 b/tools/tools/git/git-arc.1
index 587b304dd794..f2f7ee38e140 100644
--- a/tools/tools/git/git-arc.1
+++ b/tools/tools/git/git-arc.1
@@ -185,13 +185,16 @@ $ git push freebsd HEAD:main
 Create a Phabricator review using the contents of the most recent
 commit in your git checkout:
 .Bd -literal -offset indent
-$ git arc create -r markj HEAD
+$ git arc create -r markj,#jails HEAD
 .Ed
 .Pp
 The commit title is used as the review title, the commit log
 message is used as the review description, and
 .Aq Mt markj@FreeBSD.org
 is added as a reviewer.
+Also, the
+.Dq Jails
+reviewer group is added using its hashtag.
 .Pp
 Create a series of Phabricator reviews for each of HEAD~2, HEAD~ and
 HEAD:
diff --git a/tools/tools/git/git-arc.sh b/tools/tools/git/git-arc.sh
index 050ec4ec1f2c..6ef1abf4e0c6 100644
--- a/tools/tools/git/git-arc.sh
+++ b/tools/tools/git/git-arc.sh
@@ -120,9 +120,9 @@ Examples:
   Create a Phabricator review using the contents of the most recent commit in
   your git checkout.  The commit title is used as the review title, the commit
   log message is used as the review description, markj@FreeBSD.org is added as
-  a reviewer.
+  a reviewer. Also, the "Jails" reviewer group is added using its hashtag.
 
-  $ git arc create -r markj HEAD
+  $ git arc create -r markj,#jails HEAD
 
   Create a series of Phabricator reviews for each of HEAD~2, HEAD~ and HEAD.
   Pairs of consecutive commits are linked into a patch stack.  Note that the