mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Explicitly set the encoding of ChangeLog file to UTF-8 [ci skip]
This commit is contained in:
parent
7f6bd6bb1c
commit
ab35876444
1 changed files with 1 additions and 0 deletions
|
@ -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)+)/, '')
|
||||
|
|
Loading…
Reference in a new issue