@@ -143,7 +143,7 module Redmine | |||
|
143 | 143 | |
|
144 | 144 | def lastrev(path, rev) |
|
145 | 145 | return nil if path.nil? |
|
146 | cmd_args = %w|log --no-color --encoding=UTF-8 --date=iso --pretty=fuller --no-merges -n 1| | |
|
146 | cmd_args = %w|log --no-decorate --no-color --encoding=UTF-8 --date=iso --pretty=fuller --no-merges -n 1| | |
|
147 | 147 | cmd_args << rev if rev |
|
148 | 148 | cmd_args << "--" << path unless path.empty? |
|
149 | 149 | lines = [] |
@@ -171,7 +171,7 module Redmine | |||
|
171 | 171 | |
|
172 | 172 | def revisions(path, identifier_from, identifier_to, options={}) |
|
173 | 173 | revisions = Revisions.new |
|
174 | cmd_args = %w|log --no-color --encoding=UTF-8 --raw --date=iso --pretty=fuller| | |
|
174 | cmd_args = %w|log --no-decorate --no-color --encoding=UTF-8 --raw --date=iso --pretty=fuller| | |
|
175 | 175 | cmd_args << "--reverse" if options[:reverse] |
|
176 | 176 | cmd_args << "--all" if options[:all] |
|
177 | 177 | cmd_args << "-n" << "#{options[:limit].to_i}" if options[:limit] |
General Comments 0
You need to be logged in to leave comments.
Login now