Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't trust git encoding

  • Loading branch information...
commit 4e3487cfe9708ac37ca844ad7f60ddd2ac77c49b 1 parent 3b620cb
@rkh rkh authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  Rakefile
View
1  Rakefile
@@ -117,6 +117,7 @@ task :authors, [:commit_range, :format, :sep] do |t, a|
"a_user@mac.com" => blake, "ichverstehe" => "Harry Vangberg",
"Wu Jiang (nouse)" => "Wu Jiang" }
`git shortlog -s #{a.commit_range}`.lines.map do |line|
+ line = line.force_encoding 'binary' if line.respond_to? :force_encoding
num, name = line.split("\t", 2).map(&:strip)
authors[mapping[name] || name] += num.to_i
overall += num.to_i
Please sign in to comment.
Something went wrong with that request. Please try again.