Teach FileHeader, HunkHeader how to create an EditList
commit05bc0288882c7ccd7cf355f5c9982696c30ef7e7
authorShawn O. Pearce <spearce@spearce.org>
Sat, 2 May 2009 02:08:46 +0000 (1 19:08 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 4 May 2009 22:42:15 +0000 (5 00:42 +0200)
tree2841cf8ff382b5999b89a7295235dd0a3e8082d9
parent5e7a76532ee10b0cee5d1f177c1fde5b0f3c02fb
Teach FileHeader, HunkHeader how to create an EditList

The EditList type along with its member Edit instances can be very
useful when mining a patch for information about the change it is
trying to represent to the content.  This can be useful to create a
modified version of the patch, such as with larger or smaller number
of context lines.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/patch/testEditList_Types.patch [new file with mode: 0644]
org.spearce.jgit.test/tst/org/spearce/jgit/patch/EditListTest.java [new file with mode: 0644]
org.spearce.jgit/src/org/spearce/jgit/patch/FileHeader.java
org.spearce.jgit/src/org/spearce/jgit/patch/HunkHeader.java