summaryrefslogtreecommitdiff
path: root/tool/lib/vcs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/lib/vcs.rb')
-rw-r--r--tool/lib/vcs.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index c01c01da8e..a036d298f8 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -636,6 +636,7 @@ class VCS
cmd << date
cmd.concat(arg)
File.open(path, 'w') do |w|
+ w.print "-*- coding: utf-8 -*-\n\n"
cmd_pipe(env, cmd, chdir: @srcdir) do |r|
while s = r.gets("\ncommit ")
if s.sub!(/\nNotes \(log-fix\):\n((?: +.*\n)+)/, '')