git-svn-id: http://svn.redmine.org/redmine/trunk@18038 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.1.0
@@ -366,9 +366,7 @@ module Redmine | |||
end | |||
def cat(path, identifier=nil) | |||
if identifier.nil? | |||
identifier = 'HEAD' | |||
end | |||
identifier = 'HEAD' if identifier.nil? | |||
cmd_args = %w|show --no-color| | |||
cmd_args << "#{identifier}:#{scm_iconv(@path_encoding, 'UTF-8', path)}" | |||
cat = nil |