Created
September 25, 2015 05:29
-
-
Save mathieujobin/92f6b671abd7d3aa552b to your computer and use it in GitHub Desktop.
Yes Size Matters, Tell me the size of your commits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --oneline --shortstat --reverse --no-merges | grep " [^a-z]*files changed" | sed 's/[^0-9 ]//g' | ruby -e 'puts STDIN.read.split(/\n/).map{|line| a = line.split; a.shift; a.size == 1 ? a.first.to_i : (a.first.to_i - a.last.to_i).abs }.join("\n")' | sort | uniq -c |sort -n | grep "^ *[0-9][0-9]\+" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment