mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vcs.rb: just one log to check if --date
option works [ci skip]
This commit is contained in:
parent
0dcd25b711
commit
bc77cda8fd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue