vcs.rb: just one log to check if --date
option works [ci skip]
This commit is contained in:
parent
0dcd25b711
commit
bc77cda8fd
@ -581,7 +581,7 @@ class VCS
|
||||
env = {'TZ' => 'JST-9', 'LANG' => 'C', 'LC_ALL' => 'C'}
|
||||
cmd = %W"#{COMMAND} log --format=fuller --notes=commits --notes=log-fix --topo-order --no-merges"
|
||||
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"
|
||||
end
|
||||
cmd << date
|
||||
|
Loading…
x
Reference in New Issue
Block a user