Re: [PATCH] docs: recommend using contrib/contacts/git-contacts
- From
- Linus Arver <linusa@google.com>
- Date
- Apr 4, 2024, 20:00 UTC
- Message-ID
- <owlyv84wsxtb.fsf@fine.c.googlers.com>
- In-Reply-To
- <Zgulh1rxl9Af-iQK@tanuki>
Patrick Steinhardt <ps@pks.im> writes:
Show 33 quoted lines
> On Tue, Apr 02, 2024 at 12:20:05AM +0000, Linus Arver via GitGitGadget wrote: >> From: Linus Arver <linusa@google.com> >> >> Although we've had this script since 4d06402b1b (contrib: add >> git-contacts helper, 2013-07-21), we don't mention it in our >> introductory docs. Do so now. >> >> Signed-off-by: Linus Arver <linusa@google.com> >> --- >> docs: recommend using contrib/contacts/git-contacts >> >> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1704%2Flistx%2Freviewers-v1 >> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1704/listx/reviewers-v1 >> Pull-Request: https://github.com/gitgitgadget/git/pull/1704 >> >> Documentation/MyFirstContribution.txt | 3 +++ >> Documentation/SubmittingPatches | 4 ++++ >> 2 files changed, 7 insertions(+) >> >> diff --git a/Documentation/MyFirstContribution.txt b/Documentation/MyFirstContribution.txt >> index f06563e9817..eb1e27a82df 100644 >> --- a/Documentation/MyFirstContribution.txt >> +++ b/Documentation/MyFirstContribution.txt >> @@ -1116,6 +1116,9 @@ $ git send-email --to=target@example.com psuh/*.patch >> NOTE: Check `git help send-email` for some other options which you may find >> valuable, such as changing the Reply-to address or adding more CC and BCC lines. >> >> +NOTE: Use `contrib/contacts/git-contacts` to get a list of reviewers you should >> +include in the CC list. >> + > > Should we mention that the script can be passed to git-send-email(1) via > `--cc-cmd=`?
Ack, will do. I think I can just copy/paste the existing guidance from git-contact.txt which has this example:
git send-email --cc-cmd='git contacts' feature/*.patch