Re: [PATCH v2] git-contacts: allow inputting patch via stdin
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 16, 2026, 14:25 UTC
- Message-ID
- <xmqqa4phxogc.fsf@gitster.g>
- In-Reply-To
- <20260915-git-contacts-stdin-v2-1-2005061d907a@brighamcampbell.com>
Brigham Campbell <me@brighamcampbell.com> writes:
> # git-send-email --cc-cmd option, and in other situations. > # > # Usage: git contacts <file | rev-list option> ... > +# git contacts < <patch>
Not necessarily a suggestion to change what you already added, but a mere food for thought.
An obvious (and UNIX-y) alternative design would have been to follow the popular convention to tell the command to read from the standard input stream when "-" is used instead of a filename. Then this line did not have to change, and the command would have allowed arguments like:
$ git contacts patch1 patch2 - <patch3 $ git contacts patch1 - patch3 <patch2