зеркало из https://github.com/github/ruby.git
vcs.rb: just one log to check if `--date` option works [ci skip]
This commit is contained in:
Родитель
0dcd25b711
Коммит
bc77cda8fd
|
@ -581,7 +581,7 @@ class VCS
|
||||||
env = {'TZ' => 'JST-9', 'LANG' => 'C', 'LC_ALL' => 'C'}
|
env = {'TZ' => 'JST-9', 'LANG' => 'C', 'LC_ALL' => 'C'}
|
||||||
cmd = %W"#{COMMAND} log --format=fuller --notes=commits --notes=log-fix --topo-order --no-merges"
|
cmd = %W"#{COMMAND} log --format=fuller --notes=commits --notes=log-fix --topo-order --no-merges"
|
||||||
date = "--date=iso-local"
|
date = "--date=iso-local"
|
||||||
unless system(env, *cmd, date, chdir: @srcdir, out: NullDevice, exception: false)
|
unless system(env, *cmd, date, "-1", chdir: @srcdir, out: NullDevice, exception: false)
|
||||||
date = "--date=iso"
|
date = "--date=iso"
|
||||||
end
|
end
|
||||||
cmd << date
|
cmd << date
|
||||||
|
|
Загрузка…
Ссылка в новой задаче