@@ -86,7 +86,7 module Redmine | |||
|
86 | 86 | |
|
87 | 87 | def lastrev(path,rev) |
|
88 | 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 | 90 | cmd << " #{shell_quote rev} " if rev |
|
91 | 91 | cmd << "-- #{shell_quote path} " unless path.empty? |
|
92 | 92 | lines = [] |
@@ -114,7 +114,7 module Redmine | |||
|
114 | 114 | def revisions(path, identifier_from, identifier_to, options={}) |
|
115 | 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 | 118 | cmd << " --reverse " if options[:reverse] |
|
119 | 119 | cmd << " --all " if options[:all] |
|
120 | 120 | cmd << " -n #{options[:limit].to_i} " if options[:limit] |
General Comments 0
You need to be logged in to leave comments.
Login now