From: Shawn Pearce <spearce@spearce.org>
To: Randy Dunlap <rdunlap@xenotime.net>
Cc: git@vger.kernel.org
Subject: Re: author/commit counts
Date: Fri, 22 Dec 2006 21:37:20 -0500 [thread overview]
Message-ID: <20061223023719.GA8734@spearce.org> (raw)
In-Reply-To: <20061222181030.d733deb3.rdunlap@xenotime.net>
Randy Dunlap <rdunlap@xenotime.net> 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.
next prev parent reply other threads:[~2006-12-23 2:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-23 2:10 author/commit counts Randy Dunlap
2006-12-23 2:37 ` Shawn Pearce [this message]
2006-12-23 4:44 ` Linus Torvalds
2006-12-23 14:28 ` Johannes Schindelin
2006-12-23 4:37 ` Randal L. Schwartz
2006-12-23 5:27 ` Randy Dunlap
2006-12-23 4:43 ` Junio C Hamano
2006-12-23 5:24 ` Randy Dunlap
2006-12-23 5:29 ` Shawn Pearce
2006-12-23 5:06 ` Nicolas Pitre
2006-12-23 14:22 ` Johannes Schindelin
2006-12-23 14:31 ` Nicolas Pitre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061223023719.GA8734@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=rdunlap@xenotime.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox