@@ -86,7 +86,7 module Redmine | |||||
86 |
|
86 | |||
87 | def lastrev(path,rev) |
|
87 | def lastrev(path,rev) | |
88 | return nil if path.nil? |
|
88 | return nil if path.nil? | |
89 |
cmd = "#{GIT_BIN} --git-dir #{target('')} log --no- |
|
89 | cmd = "#{GIT_BIN} --git-dir #{target('')} log --no-color --date=iso --pretty=fuller --no-merges -n 1 " | |
90 | cmd << " #{shell_quote rev} " if rev |
|
90 | cmd << " #{shell_quote rev} " if rev | |
91 | cmd << "-- #{shell_quote path} " unless path.empty? |
|
91 | cmd << "-- #{shell_quote path} " unless path.empty? | |
92 | lines = [] |
|
92 | lines = [] | |
@@ -114,7 +114,7 module Redmine | |||||
114 | def revisions(path, identifier_from, identifier_to, options={}) |
|
114 | def revisions(path, identifier_from, identifier_to, options={}) | |
115 | revisions = Revisions.new |
|
115 | revisions = Revisions.new | |
116 |
|
116 | |||
117 |
cmd = "#{GIT_BIN} --git-dir #{target('')} log --no- |
|
117 | cmd = "#{GIT_BIN} --git-dir #{target('')} log --no-color --raw --date=iso --pretty=fuller " | |
118 | cmd << " --reverse " if options[:reverse] |
|
118 | cmd << " --reverse " if options[:reverse] | |
119 | cmd << " --all " if options[:all] |
|
119 | cmd << " --all " if options[:all] | |
120 | cmd << " -n #{options[:limit].to_i} " if options[:limit] |
|
120 | cmd << " -n #{options[:limit].to_i} " if options[:limit] |
General Comments 0
You need to be logged in to leave comments.
Login now