diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-08 15:44:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-08 15:44:23 +0000 |
commit | a0d141460655e0bd6e3b2b6e8ccccddc34ade68a (patch) | |
tree | 2bcb426461b2e30c48a80ecd7bb90aa336571475 /lib/redmine/scm | |
parent | 5dea2007746a5d7027cb5b3c70674e94c3563f37 (diff) | |
download | redmine-a0d141460655e0bd6e3b2b6e8ccccddc34ade68a.tar.gz redmine-a0d141460655e0bd6e3b2b6e8ccccddc34ade68a.zip |
Filesystem adapter: read files in binary mode.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1510 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm')
-rw-r--r-- | lib/redmine/scm/adapters/filesystem_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/filesystem_adapter.rb b/lib/redmine/scm/adapters/filesystem_adapter.rb index d300f6cbb..99296a090 100644 --- a/lib/redmine/scm/adapters/filesystem_adapter.rb +++ b/lib/redmine/scm/adapters/filesystem_adapter.rb @@ -72,7 +72,7 @@ module Redmine end def cat(path, identifier=nil) - File.new(target(path)).read + File.new(target(path), "rb").read end private |