Re: [PATCH 2/2] shortlog: introduce `--email-only` to only show emails
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Jun 8, 2023, 16:24 UTC
- Message-ID
- <ZIIAtO3kSaKkPqu8@nand.local>
- In-Reply-To
- <67c66cd7-fb6c-3fa0-82c8-0e778f377f96@kdbg.org>
On Thu, Jun 08, 2023 at 09:35:14AM +0200, Johannes Sixt wrote:
Show 5 quoted lines
> A note from the peanut gallery: "--email-only" sounds like an option > that affects the output of the command. But it does not (IIUC), there is > no hint that it affects grouping and filtering. It is named too > generically, IMHO. Can we not have the desired effect by specifying some > token to one of the --group* options?
I had thought about the possibility of something like this since we (a) already have lots of `%(trailer)`-related pretty formatting options, and (b) support grouping by pretty formatted-commits with the `--group=format:<format>` option I introduced via c112d8d9c2 (Merge branch 'tb/shortlog-group', 2022-10-30).
Thanks, Taylor