Commit 6e2a6d925f9c5446411cb9e7d191575e44760384

Authored by Dmitriy Zaporozhets
1 parent 80ddd2c0

cleanup after prev commit

app/controllers/commits_controller.rb
1 -require 'benchmark'  
2 require "base64" 1 require "base64"
3 2
4 class CommitsController < ApplicationController 3 class CommitsController < ApplicationController
config/initializers/gitlabhq/20_grit_ext.rb
@@ -40,13 +40,6 @@ Grit::GitRuby::Internal::RawObject.class_eval do @@ -40,13 +40,6 @@ Grit::GitRuby::Internal::RawObject.class_eval do
40 content.force_encoding("UTF-8") 40 content.force_encoding("UTF-8")
41 end 41 end
42 end 42 end
43 -  
44 - def z_binary?(string)  
45 - string.each_byte do |x|  
46 - x.nonzero? or return true  
47 - end  
48 - false  
49 - end  
50 end 43 end
51 44
52 45