Skip to content

Instantly share code, notes, and snippets.

@choonkeat
Created April 27, 2009 07:44
Show Gist options
  • Save choonkeat/102376 to your computer and use it in GitHub Desktop.
Save choonkeat/102376 to your computer and use it in GitHub Desktop.
# SVN
svn annotate app/models/*rb | egrep -i '\* from' | while read rev user code; do echo $user; done | sort | uniq -c | sort -n
# GIT
for x in app/models/*rb; do git annotate $x; done | sed 's/(//g' | egrep -i '\* from' | while read rev user code; do echo $user; done | sort | uniq -c | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment