Code

honor repack.usedeltabaseoffset when fetching packs
authorNicolas Pitre <nico@cam.org>
Sat, 2 May 2009 00:18:02 +0000 (20:18 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 2 May 2009 05:13:43 +0000 (22:13 -0700)
commitf04833ef9f330612a4116401258882b38e95744e
tree5324944147ee2ee3126f177c90745f1f8b0e2a1e
parenta2dc04ba159def766ee17db00c60bdbda477955d
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.

[ issue noticed by Shawn Pearce ]

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch-pack.c