Skip to content

Commit

Permalink
Merge pull request #6 from brickattack/patch-1
Browse files Browse the repository at this point in the history
Fix. Without 'lines', would throw undefined method 'each' on String.
  • Loading branch information
jwiegley committed Dec 12, 2011
2 parents b037dac + 8e32af5 commit 654cd54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-rank-contributors
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ obfuscate = ARGV.delete("-o")

author = nil
state = :pre_author
`git log -p --no-color`.each do |l|
`git log -p --no-color`.lines.each do |l|
case
when (state == :pre_author || state == :post_author) && l =~ /Author: (.*)$/
author = $1
Expand Down

0 comments on commit 654cd54

Please sign in to comment.