Reviewed by Adam Barth.
review tool formatted diff doesn't match the uploaded diff
https://bugs.webkit.org/show_bug.cgi?id=51960
PrettyPatch works just fine if there is no newline at the end of the file.
* attachment.cgi:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75650
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-01-12 Ojan Vafai <ojan@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ review tool formatted diff doesn't match the uploaded diff
+ https://bugs.webkit.org/show_bug.cgi?id=51960
+
+ PrettyPatch works just fine if there is no newline at the end of the file.
+
+ * attachment.cgi:
+
2011-01-12 Ojan Vafai <ojan@chromium.org>
Reviewed by Adam Barth.
$ENV{'PATH'} = "/opt/local/bin:" . $ENV{'PATH'};
open2(\*OUT, \*IN, "/usr/bin/ruby", "-I", "PrettyPatch", "PrettyPatch/prettify.rb", "--html-exceptions");
$ENV{'PATH'} = $orig_path;
- print IN $attachment->data . "\n";
+ print IN $attachment->data;
close(IN);
while (<OUT>) {
print;