Define Patch to parse a sequence of patch FileHeaders
commit7ffd095d7874733d0cb73edd9f1eeff915790115
authorShawn O. Pearce <spearce@spearce.org>
Thu, 11 Dec 2008 04:58:41 +0000 (10 20:58 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 13 Dec 2008 02:13:25 +0000 (13 03:13 +0100)
tree5c0b790ec9a0568e26ff440834d8811f6e950d98
parentffba827bb1601d5bbf174256618729695023f262
Define Patch to parse a sequence of patch FileHeaders

Most patch scripts impact more than one file at a time, so we need
to support parsing multiple FileHeaders from the same input stream
and collect them into a larger entity representing the entire script.

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/testParse_ConfigCaseInsensitive.patch [new file with mode: 0644]
org.spearce.jgit.test/tst/org/spearce/jgit/patch/PatchTest.java [new file with mode: 0644]
org.spearce.jgit/src/org/spearce/jgit/patch/FileHeader.java
org.spearce.jgit/src/org/spearce/jgit/patch/Patch.java [new file with mode: 0644]