PrettyPatch.rb doesn't handle diffs where lines matching /^--/ are missing properly
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Dec 2013 16:45:11 +0000 (16:45 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Dec 2013 16:45:11 +0000 (16:45 +0000)
commitbd6a71d9744289bac206503d4c0c4bc8aa571475
tree94b576e148cb610d7f982b28e23ffc4a336ccd47
parentdc802fa00a0cdb1564c46bd4e47879f71c4e52e9
PrettyPatch.rb doesn't handle diffs where lines matching /^--/ are missing properly
https://bugs.webkit.org/show_bug.cgi?id=54928

Patch by Dániel Bátyai <Batyai.Daniel@stud.u-szeged.hu> on 2013-12-16
Reviewed by Adam Roben.

PrettyPatch will now check if the next line after /^--- / matches /^+++ /, and if not,
then it's just a normal line

* PrettyPatch/PrettyPatch.rb:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/bugs.webkit.org/ChangeLog
Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb