Project

General

Profile

Defect #25371 ยป adding-no-renames.patch

Tamara S, 2017-03-20 15:47

View differences:

lib/redmine/scm/adapters/git_adapter.rb (working copy)
193 193

  
194 194
        def revisions(path, identifier_from, identifier_to, options={})
195 195
          revs = Revisions.new
196
          cmd_args = %w|log --no-color --encoding=UTF-8 --raw --date=iso --pretty=fuller --parents --stdin|
196
          cmd_args = %w|log --no-renames --no-color --encoding=UTF-8 --raw --date=iso --pretty=fuller --parents --stdin|
197 197
          cmd_args << "--reverse" if options[:reverse]
198 198
          cmd_args << "-n" << "#{options[:limit].to_i}" if options[:limit]
199 199
          cmd_args << "--" << scm_iconv(@path_encoding, 'UTF-8', path) if path && !path.empty?
    (1-1/1)