Re: Allow "git shortlog" to group by committer information
- From
Jeff King <peff@peff.net>
- Date
- Dec 16, 2016, 13:39 UTC
- Message-ID
- <20161216133940.hu474phggdslh6ka@sigill.intra.peff.net>
- In-Reply-To
- <CA+55aFxSQ2wxU3cA+8uqS-W8mbobF35dVCZow2BcixGOOvGVFQ@mail.gmail.com>
On Thu, Dec 15, 2016 at 01:29:47PM -0800, Linus Torvalds wrote:
Show 17 quoted lines
> On Tue, Oct 11, 2016 at 11:45 AM, Linus Torvalds > <torvalds@linux-foundation.org> wrote: > > In some situations you may want to group the commits not by author, > > but by committer instead. > > > > For example, when I just wanted to look up what I'm still missing from > > linux-next in the current merge window [..] > > It's another merge window later for the kernel, and I just re-applied > this patch to my git tree because I still want to know teh committer > information rather than the authorship information, and it still seems > to be the simplest way to do that. > > Jeff had apparently done something similar as part of a bigger > patch-series, but I don't see that either. I really don't care very > much how this is done, but I do find this very useful, I do things > like
Sorry if I de-railed the earlier conversation. The shortlog group-by-trailer work didn't seem useful enough for me to make it a priority.
I'm OK with the approach your patch takes, but I think there were some unresolved issues:
- are we OK taking the short "-c" for this, or do we want
"--group-by=committer" or something like it?- no tests; you can steal the general form from my [1]
- no documentation (can also be stolen from [1], though the syntax is
quite different)-Peff
[1] http://public-inbox.org/git/20151229073515.GK8842@sigill.intra.peff.net/