Skip to content

Instantly share code, notes, and snippets.

@acroca
Created February 24, 2014 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acroca/9181484 to your computer and use it in GitHub Desktop.
Save acroca/9181484 to your computer and use it in GitHub Desktop.
Who commits lines longer than 120 characters?
grep '.\{120,\}' -Hn `git ls-files` | awk '{split($0, a, ":"); print "git blame -eL "a[2]","a[2]" "a[1]}' | bash | awk '{split($0, a, "<"); split(a[2], b, ">"); print b[1]}' | sort | uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment