зеркало из https://github.com/github/ruby.git
Explicitly set the encoding of ChangeLog file to UTF-8 [ci skip]
This commit is contained in:
Родитель
7f6bd6bb1c
Коммит
ab35876444
|
@ -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)+)/, '')
|
||||
|
|
Загрузка…
Ссылка в новой задаче