Extract inner ObjectEntry from IndexPack class
commit7771814eda76220c0d7b49d03ca4c9253c80e674
authorShawn O. Pearce <spearce@spearce.org>
Tue, 24 Jun 2008 02:09:59 +0000 (23 22:09 -0400)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 28 Jun 2008 10:11:51 +0000 (28 12:11 +0200)
treec770ec55d9dfc74f139478759b8811905b706b25
parent4cf736fdf3867490d04c65a04ca1431f7c1ecafb
Extract inner ObjectEntry from IndexPack class

This type is useful not just for IndexPack but also for PackWriter
as it is essentially the index record (ObjectId and offset).  Both
data items are necessary to compute a valid index record, so we can
unify the index writing code if we have a common type.

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/transport/IndexPack.java
org.spearce.jgit/src/org/spearce/jgit/transport/ObjectEntry.java [new file with mode: 0644]