1
0
Fork 0
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:
Nobuyoshi Nakada 2022-06-22 09:32:01 +09:00
parent 0dcd25b711
commit bc77cda8fd
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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