Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
## git-rank-contributors: a simple script to trace through the logs and
## rank contributors by the total size of the diffs they're responsible for.
## A change counts twice as much as a plain addition or deletion.
##
## Output may or may not be suitable for inclusion in a CREDITS file.
## Probably not without some editing, because people often commit from more
## than one address.
##
html, body {
border:0pt none;
margin:0pt;
min-width:750px;
padding:0pt;
width:100%;
}
body {
color:#333333;