Don't unpack delta chains while converting delta to whole object
commitd7936a9595e881cb8d127f86c6d43f2ae275ece0
authorShawn O. Pearce <spearce@spearce.org>
Thu, 25 Dec 2008 02:11:11 +0000 (24 18:11 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 4 Jan 2009 00:06:07 +0000 (4 01:06 +0100)
tree4b2e5d96a0158f421d00551e4407458cba890e89
parent3687d2c8cebc289e143673a9fdc4ae54eac444a3
Don't unpack delta chains while converting delta to whole object

If an object is currently a delta but we need to convert it into
a whole object we shouldn't be chasing the delta chain to get its
real type code.  We had the type code at the time we made the list
of objects to pack; so we save it in the ObjectToPack structure.

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/lib/PackWriter.java