Teach IndexPack how to fix thin packs received from the network
commit8c64d7e285260664c7f16301c4c553a07b0ed609
authorShawn O. Pearce <spearce@spearce.org>
Sun, 20 Apr 2008 08:01:53 +0000 (20 04:01 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 11 May 2008 05:16:34 +0000 (11 01:16 -0400)
treeee9fa42cbf4932d24679363a6a99d3e1b70e0ba1
parent15d8fbc182a2d4a3dee4780591ba6ba4b24a59dd
Teach IndexPack how to fix thin packs received from the network

Network transfers can use "thin packs", packs where base objects
for one or more of the contained deltas are not part of the pack.
This permits two peers to exchange objects with the minimum amount
of bandwidth necessary, but the recipient must add the missing base
objects by copying them from the local repository into the pack.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit.test/tst/org/spearce/jgit/transport/IndexPackTest.java
org.spearce.jgit/src/org/spearce/jgit/pgm/IndexPack.java
org.spearce.jgit/src/org/spearce/jgit/transport/FullFetchClient.java
org.spearce.jgit/src/org/spearce/jgit/transport/IndexPack.java