Re: author/commit counts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
> Someone asked me a few days ago about their patches being merged yet
> (e.g., how to see their commits in a git tree).
> Someone else asked (in general) about commit or author counts.

I often do `git log --author=Shawn next@{1}..next` to see what
commits of mine Junio has recently merged into git.git since my
last fetch.  Since I'm the only Shawn (with that spelling) that
contributes to git.git this works rather well to show my work.  ;-)
 
> I pointed the first person to "git log" and/or gitweb.
> For the second, there are probably lots of scripts out there
> but I didn't find them.  Where are they?

Here's another variant showing the top 20 committers to git.git,
no Perl involved:

  $ git log | grep ^Author | cut -d\< -f1 | sort \
  	| uniq -c | sort -n -r | head -20
  3728 Author: Junio C Hamano 
   842 Author: Linus Torvalds 
   250 Author: Johannes Schindelin 
   217 Author: Jakub Narebski 
   194 Author: Eric Wong 
   166 Author: Petr Baudis 
   150 Author: Paul Mackerras 
   147 Author: Kay Sievers 
    88 Author: Nicolas Pitre 
    77 Author: Rene Scharfe 
    67 Author: Shawn Pearce 
    57 Author: Martin Langhoff 
    53 Author: Fredrik Kuivinen 
    52 Author: Nick Hengeveld 
    52 Author: Matthias Urlichs 
    49 Author: Daniel Barkalow 
    47 Author: Ryan Anderson 
    46 Author: Shawn O. Pearce 
    45 Author: Sergey Vlasov 
    45 Author: Luben Tuikov 

The only issue I have with that is I seem to have two attributions
in git.git: 'Shawn Pearce' and 'Shawn O. Pearce'.  Technically I'm
in the top 10 by commit volume but its not immediately clear because
of the two attributions being used.  Really my only issue here is
why sometimes my middle initial gets used and other times it doesn't.

You can also see the very clear gap between Junio and the rest of the
world.  There's very little dispute about who really codes Git.  :-)

I'm personally suprised at Pasky's ranking: 166 commits!  I did
not realize he had contributed so frequently to git.git itself.

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]