Project

General

Profile

Defect #5628 » 0001-git_adapter.rb-Fix-whitespace-in-git-command.patch

S. Christoffer Eliesen, 2010-06-24 22:41

View differences:

lib/redmine/scm/adapters/git_adapter.rb
117 117
          cmd = "#{GIT_BIN} --git-dir #{target('')} log --raw --date=iso --pretty=fuller"
118 118
          cmd << " --reverse" if options[:reverse]
119 119
          cmd << " --all" if options[:all]
120
          cmd << " -n #{options[:limit]} " if options[:limit]
121
          cmd << " #{shell_quote(identifier_from + '..')} " if identifier_from
122
          cmd << " #{shell_quote identifier_to} " if identifier_to
120
          cmd << " -n #{options[:limit]}" if options[:limit]
121
          cmd << " #{shell_quote(identifier_from + '..') if identifier_from}" \
122
            "#{shell_quote(identifier_to) if identifier_to}" if identifier_from or identifier_to
123 123
          cmd << " --since=#{shell_quote(options[:since].strftime("%Y-%m-%d %H:%M:%S"))}" if options[:since]
124 124
          cmd << " -- #{path}" if path && !path.empty?
125 125

  
(1-1/2)