From: Taylor Blau Date: Thu, 08 Jun 2023 16:24:20 GMT Subject: Re: [PATCH 2/2] shortlog: introduce `--email-only` to only show emails Message-ID: In-Reply-To: <67c66cd7-fb6c-3fa0-82c8-0e778f377f96@kdbg.org> On Thu, Jun 08, 2023 at 09:35:14AM +0200, Johannes Sixt wrote: > 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:` option I introduced via c112d8d9c2 (Merge branch 'tb/shortlog-group', 2022-10-30). Thanks, Taylor