Correctly use a long for the offsets within a generated pack
commit3069f994016cd651c90cce8f4d4f0ecad94218b8
authorShawn O. Pearce <spearce@spearce.org>
Thu, 25 Dec 2008 02:11:14 +0000 (24 18:11 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 4 Jan 2009 00:06:08 +0000 (4 01:06 +0100)
tree86ba4b175bd9322105e186844c54233f30a06ba0
parent7376dc867aec3a55f2e2882bb13f6a86bb6975b2
Correctly use a long for the offsets within a generated pack

Pack files can be larger than 2 GiB, especially if the PackIndexV2
format is being used.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackWriterTest.java
org.spearce.jgit/src/org/spearce/jgit/util/CountingOutputStream.java