Don't show malformed diff warning for git format-patch diffs
Review Request #123776 - Created May 13, 2015 and submitted
Diffs generated with git format-patch are parsed and displayed correctly, but they are still reported as malformed.
It is because the extra last 2 lines of those diffs:-- 2.1.4
This change will not mark the diff as malformed in this case.
No more warning when opening such diffs
You can test eg. with diff from BUG 344532