aboutsummaryrefslogtreecommitdiffstats
path: root/tool/lib/vcs.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-22 09:32:01 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-22 09:32:01 +0900
commitbc77cda8fd70b3bb2407b7cc612ccb963e5cc876 (patch)
tree15a3be0a37c4f755caf52eb8bd901d81bc428b5a /tool/lib/vcs.rb
parent0dcd25b711d9b907d3d3085b55790ea6e3a75e0d (diff)
downloadruby-bc77cda8fd70b3bb2407b7cc612ccb963e5cc876.tar.gz
vcs.rb: just one log to check if `--date` option works [ci skip]
Diffstat (limited to 'tool/lib/vcs.rb')
-rw-r--r--tool/lib/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index 0915fd072e..5154a7298e 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -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