Commit 6e2a6d925f9c5446411cb9e7d191575e44760384
1 parent
80ddd2c0
Exists in
master
and in
4 other branches
cleanup after prev commit
Showing
2 changed files
with
0 additions
and
8 deletions
Show diff stats
app/controllers/commits_controller.rb
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 |