From: Jeff King Date: Sun, 27 Sep 2020 08:03:45 GMT Subject: Re: [PATCH 2/8] shortlog: refactor committer/author grouping Message-ID: <20200927080345.GB1286220@coredump.intra.peff.net> In-Reply-To: On Fri, Sep 25, 2020 at 04:05:04PM -0400, Eric Sunshine wrote: > > +--group=:: > > + By default, `shortlog` collects and collates author identities; > > + using `--group` will collect other fields. > > + `` is one of: > > ++ > > + - `author`, commits are grouped by author (this is the default) > > + - `committer`, commits are grouped by committer (the same as `-c`) > > I had trouble interpreting "(this is the default)". It made me think > that is optional: > > --group[=] > > but that isn't the case at all. Instead, it means that if --group > isn't specified, then grouping is done by `author` by default. Right. > It also > repeats what the general description of --group already says with > regard to the default, thus it is redundant to say it again when > describing the `author` type. Therefore, perhaps drop "(this is the > default)" altogether? OK. I was worried somebody wouldn't quite pick up on the default. We could spell it out as: - `author`, commits are grouped by author (this is the default if no --group is given) but that's pretty lengthy. We could also reword the whole thing as: --group=:: Collect and collate values of type ``; if no `--group` option is given, the default is `author`: - `author`, commits are grouped by author - `committer`, commits are grouped by committer (the same as `-c`) I'm not sure if that's clearer or not. The first sentence seems a bit opaque, but I'm not sure how to improve it. For now (and what plan to send out in v2), I'll take your suggestion to just drop the phrase. -Peff