Changeset 80795 in webkit
- Timestamp:
- Mar 10, 2011 4:56:37 PM (13 years ago)
- Location:
- trunk/Websites/bugs.webkit.org
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Websites/bugs.webkit.org/ChangeLog
r80782 r80795 1 2011-03-10 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 2 3 Reviewed by Adam Roben. 4 5 Formatted Diff for attachment 23920 is mangled 6 https://bugs.webkit.org/show_bug.cgi?id=21222 7 8 The mangled diff files mentioned in the bug were using Mac line 9 ending and this was causing problems for String#each_line. Now we 10 normalize the line endings in patch data before processing it. 11 12 * PrettyPatch/PrettyPatch.rb: 13 1 14 2011-03-10 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 2 15 -
trunk/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb
r80782 r80795 13 13 14 14 def self.prettify(string) 15 string = normalize_line_ending(string) 15 16 fileDiffs = FileDiff.parse(string) 16 17 … … 88 89 Websites 89 90 ] 91 92 def self.normalize_line_ending(s) 93 s.gsub /\r\n?/, "\n" 94 end 90 95 91 96 def self.find_url_and_path(file_path)
Note: See TracChangeset
for help on using the changeset viewer.