Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Invert numbers and names in the git-shortlog summary mode.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:58

Pierre Habouzit [off-list ref] writes:
Also make it `cut` friendly using a tab to separate the numbers and names.

Signed-off-by: Pierre Habouzit <redacted>
---

    On Tue, Dec 11, 2007 at 02:05:08PM +0000, Ingo Molnar wrote:
    > please switch around the column too so that the commit count comes 
    > first, this is way too ugly:
    > 
    >  Junio C Hamano: 4826
    >  Shawn O. Pearce: 1146
    >  Linus Torvalds: 950
    [...]

    Agreed, here is the patch that does that, and a sample output is:

        $ git shortlog -n -s -e HEAD -- builtin-commit.c
            11	Junio C Hamano [off-list ref]
             6	Johannes Schindelin [off-list ref]
             6	Kristian Høgsberg [off-list ref]
             2	Jeff King [off-list ref]
             1	Alex Riesen [off-list ref]
Thanks.  Looks good.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help