Honor repack.usedeltabaseoffset when fetching packs
commitce96a95e40e6ed2d0b8cb4304eba37bb42500870
authorShawn O. Pearce <spearce@spearce.org>
Fri, 1 May 2009 22:00:24 +0000 (1 15:00 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 4 May 2009 22:42:15 +0000 (5 00:42 +0200)
tree3daa2d70a0b5fa41f01d9ec706651ba0a798a7d6
parente7e386cd2179b21ac7fa4ae29550c5857618e89e
Honor repack.usedeltabaseoffset when fetching packs

If the local receiving repository has disabled the use of delta base
offset, for example to retain compatibility with older versions of
Git that predate OFS_DELTA, we shouldn't ask for ofs-delta support
when we obtain a pack from the remote server.

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/BasePackFetchConnection.java