Skip to content

Instantly share code, notes, and snippets.

@geelen
Created October 1, 2009 00:31
Show Gist options
  • Save geelen/198607 to your computer and use it in GitHub Desktop.
Save geelen/198607 to your computer and use it in GitHub Desktop.
ruby -e '`grep -rn "enabled = false" .`.map{|l|l.chomp.split(":")}.map{|f,l,_|[f,l]+`git blame -t -L#{l.to_i+1},+1 #{f}`.match(/^[^\(]*\((.*) \d+ \+[^\)]*\)(.*)$/).to_a[1..-1]}.sort_by{|_,_,a,_|a}.each{|f,l,a,t|puts "#{a} - \"#{t}\" (#{f}:#{l})"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment