shortlog: extract `--group` fragment for translation
commitb017d3dae9fe5a5b636b8f7a5235cee2b1b90332
authorTaylor Blau <me@ttaylorr.com>
Mon, 24 Oct 2022 18:55:36 +0000 (24 14:55 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Oct 2022 21:48:05 +0000 (24 14:48 -0700)
treea189059a2444db1258598caee050505fb0c5618a
parent0b293df9642bc8731e45e636ef8f1c0c5749d4b2
shortlog: extract `--group` fragment for translation

The subsequent commit will add another unhandled case in
`read_from_stdin()` which will want to use the same message as with
`--group=trailer`.

Extract the "--group=trailer" part from this message so the same
translation key can be used for both cases.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/shortlog.c