[PATCH v5 2/2] git-contacts: add stdin functionality to docs
- From
Brigham Campbell <me@brighamcampbell.com>
- Date
- Sep 29, 2026, 05:47 UTC
- Message-ID
- <20260928-git-contacts-stdin-v5-2-e9becaebc47e@brighamcampbell.com>
- In-Reply-To
- <20260928-git-contacts-stdin-v5-0-e9becaebc47e@brighamcampbell.com>
git-contacts now accepts patches via stdin. Optionally, multiple patches may be concatenated before piping the result into git-contacts. Document this feature.
Signed-off-by: Brigham Campbell <me@brighamcampbell.com> --- contrib/contacts/git-contacts.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/contacts/git-contacts.adoc b/contrib/contacts/git-contacts.adoc index dd914d1261..4e0b518aae 100644 --- a/contrib/contacts/git-contacts.adoc +++ b/contrib/contacts/git-contacts.adoc @@ -24,7 +24,8 @@ Input consists of one or more patch files or revision arguments. A revision argument can be a range or a single `<rev>` which is interpreted as `<rev>..HEAD`, thus the same revision arguments are accepted as for linkgit:git-format-patch[1]. Patch files and revision arguments can be combined -in the same invocation. +in the same invocation. A single dash `'-'` character in place of a `<patch>` +tells the command to read patch file(s) from the standard input. This command can be useful for determining the list of people with whom to discuss proposed changes, or for finding the list of recipients to Cc: when
-- 2.55.0