Allow a stray LF at the end of a hunk
commit5559914871dcc6d04f462bf62013bf2047d8daef
authorShawn O. Pearce <spearce@spearce.org>
Fri, 12 Dec 2008 22:05:53 +0000 (12 14:05 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 13 Dec 2008 02:13:27 +0000 (13 03:13 +0100)
tree30d968c1670a230736f5d4fa7aab167bf5cbc286
parentd4d19c3dd86ac48a723306171ebe19a1243308b5
Allow a stray LF at the end of a hunk

If a hunk ends and is followed by a stray LF its not worth creating
a warning for.  A single extra blank line isn't all that interesting
relative to the other sorts of data we might find at the end of a
patch hunk.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/patch/Patch.java