www.fabiankeil.de/gehacktes/git-whodaman/
git-whodaman
: Figure out which commiter is da man
git-whodaman
is a subcommand for git to figure out who da man
is.
Obviously da man
is the human who made the most commits. The type of human is
gathered from the script name so you can symlink the script to git-whodafemale
or git-whodamaster
etc. if you're gathering statistics for a
repository where this is more appropriate.
The script has to be copied to a directory that is included in the $PATH variable so git can find it.
fk@t520 ~/git/curl $which git-whodaman /home/fk/scripts/git-whodaman fk@t520 ~/git/curl $git whodaman | head -n 30 Daniel Stenberg is da man (branch: master; commits in branch: 29439) 1 Daniel Stenberg made 16909 commits (57.4374%). 2 Yang Tse made 2587 commits (8.78766%). 3 Steve Holme made 1916 commits (6.50837%). 4 Dan Fandrich made 1110 commits (3.77051%). 5 Guenter Knauf made 662 commits (2.24872%). 6 Jay Satiro made 596 commits (2.02453%). 7 Gisle Vanem made 494 commits (1.67805%). 8 Marc Hoersken made 458 commits (1.55576%). 9 Marcel Raad made 379 commits (1.28741%). 10 Patrick Monnerat made 312 commits (1.05982%). 11 Kamil Dudka made 254 commits (0.862801%). 12 Daniel Gustafsson made 195 commits (0.662387%). 13 Viktor Szakats made 191 commits (0.648799%). 14 Tatsuhiro Tsujikawa made 138 commits (0.468766%). 15 Alessandro Ghedini made 83 commits (0.281939%). 16 Michael Kaufmann made 79 commits (0.268352%). 17 Fabian Keil made 74 commits (0.251367%). 18 Nick Zitzmann made 70 commits (0.23778%). 19 Peter Wu made 61 commits (0.207208%). 20 Jiri Hruska made 58 commits (0.197018%). 21 Julien Chaffraix made 54 commits (0.18343%). 22 Johannes Schindelin made 50 commits (0.169843%). 23 Emil Engler made 42 commits (0.142668%). 24 Sergei Nikulov made 40 commits (0.135874%). 25 Sterling Hughes made 39 commits (0.132477%). 26 Jakub Zakrzewski made 33 commits (0.112096%). 27 James Housley made 31 commits (0.105302%). 28 Steinar H. Gunderson made 29 commits (0.0985088%).
git-whodaman
is free software.
Copyright (c) 2013-2023 Fabian Keil <fk@fabiankeil.de> Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ALL YOUR DATA IS BELONG TO THE SOFTWARE AND MAY BE EATEN BY IT. IF THAT IS NOT ACCEPTABLE, YOU SHOULD PROBABLY MAKE BACKUPS BEFORE USING THE SOFTWARE.