summaryrefslogtreecommitdiff
path: root/tool/lib/vcs.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2020-02-01 22:54:58 +0900
committerNobuyoshi Nakada <[email protected]>2020-02-01 23:10:18 +0900
commitab35876444f57e1a04f2053fa3ca69400f3f4d72 ()
treee6e9625013392a1b0794b0f9664d6e3ade4b338a /tool/lib/vcs.rb
parent7f6bd6bb1c2220d2d7c17b77abf52fb4af548001 (diff)
Explicitly set the encoding of ChangeLog file to UTF-8 [ci skip]
-rw-r--r--tool/lib/vcs.rb1
1 files changed, 1 insertions, 0 deletions
@@ -636,6 +636,7 @@ class VCS
cmd << date
cmd.concat(arg)
File.open(path, 'w') do |w|
cmd_pipe(env, cmd, chdir: @srcdir) do |r|
while s = r.gets("\ncommit ")
if s.sub!(/\nNotes \(log-fix\):\n((?: +.*\n)+)/, '')