From bc77cda8fd70b3bb2407b7cc612ccb963e5cc876 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 22 Jun 2022 09:32:01 +0900 Subject: [PATCH] vcs.rb: just one log to check if `--date` option works [ci skip] --- tool/lib/vcs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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