Corrected infinite loop while reading base and add hunk in patch stream.
commit48f701eee2dfd808565ef13acebd4509258d0fab
authorShawn O. Pearce <spearce@spearce.org>
Mon, 7 Aug 2006 04:16:32 +0000 (7 00:16 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 7 Aug 2006 04:16:32 +0000 (7 00:16 -0400)
treea997fe7edcdc3ad404701be851bee499b693a239
parent75b06e6bedc4de9a148e33bc783c73228bdb1c4e
Corrected infinite loop while reading base and add hunk in patch stream.

I discovered these two bugs while reviewing the code and comparing
it to A Large Angry SCM's data format documentation just published
to the GIT mailing list.  Additional test cases relating to pack
reading are apparently going to be necessary as the existing tests
did not detect these bugs.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/PatchDeltaStream.java