summaryrefslogtreecommitdiff
path: root/tool/vcs.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-04-27 23:13:03 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-04-27 23:13:03 +0900
commit7875c42f64e8656eb18262da65816a72375bf5f2 (patch)
tree4b3adc5f8208b9e65cd51d93a5b198c65300f4e3 /tool/vcs.rb
parent6f8ac2cb28f99a4b2588c59ec44eff6ed38c4d3b (diff)
Override log format to parse for ChangeLog
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index cb571e6..8775814 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -460,7 +460,7 @@ class VCS
rev unless rev.empty?
end.join('^..')
cmd_pipe({'TZ' => 'JST-9', 'LANG' => 'C', 'LC_ALL' => 'C'},
- %W"#{COMMAND} log --no-notes --date=iso-local --topo-order #{range}", "rb") do |r|
+ %W"#{COMMAND} log --format=medium --no-notes --date=iso-local --topo-order #{range}", "rb") do |r|
open(path, 'w') do |w|
sep = "-"*72
w.puts sep