Преглед изворни кода

code clean up GitAdapter

git-svn-id: http://svn.redmine.org/redmine/trunk@18038 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.1.0
Toshi MARUYAMA пре 5 година
родитељ
комит
97f6a40981
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1
    3
      lib/redmine/scm/adapters/git_adapter.rb

+ 1
- 3
lib/redmine/scm/adapters/git_adapter.rb Прегледај датотеку

@@ -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

Loading…
Откажи
Сачувај