git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Allow "git shortlog" to group by committer information

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Dec 15, 2016, 21:29 UTC
Message-ID
<CA+55aFxSQ2wxU3cA+8uqS-W8mbobF35dVCZow2BcixGOOvGVFQ@mail.gmail.com>
In-Reply-To
<CA+55aFzWkE43rSm-TJNKkHq4F3eOiGR0-Bo9V1=a1s=vQ0KPqQ@mail.gmail.com>
Just a ping on this patch..

On Tue, Oct 11, 2016 at 11:45 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote:

Show 5 quoted lines
> 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

   git shortlog -cnse linus..next |
        head -20 |
        cut -f2 |
        sed 's/$/,/'

to generate a nice list of the top-20 committers that I haven't gotten pull requests from yet.

Yes, I can just maintain this myself, and maybe nobody else needs it, but it's pretty simple and straightforward, and there didn't seem to be any real reason not to have the option..

                 Linus
Previous: Jeff KingNext: Junio C Hamano
Message 5 of 24 in “Allow "git shortlog" to group by committer information”
  1. Linus TorvaldsOct 11, 2016
  2. Jeff KingOct 11, 2016
  3. Linus TorvaldsOct 11, 2016
  4. Jeff KingOct 11, 2016
  5. Linus TorvaldsDec 15, 2016
  6. Junio C HamanoDec 16, 2016
  7. Linus TorvaldsDec 16, 2016
  8. Junio C HamanoDec 16, 2016
  9. 1/1 Allow "git shortlog" to group by committer informationLinus Torvalds, Dec 16, 2016
  10. Stephen & Linda SmithDec 16, 2016
  11. Linus TorvaldsDec 16, 2016
  12. Jeff KingDec 16, 2016
  13. Jeff KingDec 16, 2016
  14. Junio C HamanoDec 16, 2016
  15. Johannes SixtDec 20, 2016
  16. Junio C HamanoDec 20, 2016
  17. Junio C HamanoDec 20, 2016
  18. Junio C HamanoDec 20, 2016
  19. Johannes SixtDec 20, 2016
  20. Johannes SixtDec 21, 2016
  21. Jeff KingDec 21, 2016
  22. Jacob KellerDec 21, 2016
  23. Jeff KingDec 21, 2016
  24. Junio C HamanoDec 21, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.