##// END OF EJS Templates
scm: git: convert path encoding in "git log" (#5251)....
Toshi MARUYAMA -
r4916:08ee6a39325f
parent child
Show More
@@ -213,13 +213,15 module Redmine
213 213 parsing_descr = 2
214 214 fileaction = $1
215 215 filepath = $2
216 files << {:action => fileaction, :path => filepath}
216 p = scm_iconv('UTF-8', @path_encoding, filepath)
217 files << {:action => fileaction, :path => p}
217 218 elsif (parsing_descr == 1 || parsing_descr == 2) \
218 219 && line =~ /^:\d+\s+\d+\s+[0-9a-f.]+\s+[0-9a-f.]+\s+(\w)\d+\s+(\S+)\t(.+)$/
219 220 parsing_descr = 2
220 221 fileaction = $1
221 222 filepath = $3
222 files << {:action => fileaction, :path => filepath}
223 p = scm_iconv('UTF-8', @path_encoding, filepath)
224 files << {:action => fileaction, :path => p}
223 225 elsif (parsing_descr == 1) && line.chomp.to_s == ""
224 226 parsing_descr = 2
225 227 elsif (parsing_descr == 1)
General Comments 0
You need to be logged in to leave comments. Login now