diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-06-10 04:29:15 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-06-10 04:29:15 +0000 |
commit | 06babbec7e788f2f3684f257ac817b424aedbf46 (patch) | |
tree | e2ac4ddcadfc164a720a9a055965443c01711367 /app/controllers/repositories_controller.rb | |
parent | 7f4767418befd064cfeb65b034eeeb2832a3c264 (diff) | |
download | redmine-06babbec7e788f2f3684f257ac817b424aedbf46.tar.gz redmine-06babbec7e788f2f3684f257ac817b424aedbf46.zip |
remove is_binary_data? from String (#25563)
git-svn-id: http://svn.redmine.org/redmine/trunk@16644 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/repositories_controller.rb')
-rw-r--r-- | app/controllers/repositories_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index cbe38210e..2a7642772 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -172,7 +172,7 @@ class RepositoriesController < ApplicationController return true if Redmine::MimeType.is_type?('text', path) # Ruby 1.8.6 has a bug of integer divisions. # http://apidock.com/ruby/v1_8_6_287/String/is_binary_data%3F - return false if ent.is_binary_data? + return false if Redmine::Scm::Adapters::ScmData.binary?(ent) true end private :is_entry_text_data? |