diff options
author | Jeff King <peff@peff.net> | 2014-10-16 21:11:43 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-19 15:08:38 -0700 |
commit | 21134714787a02a37da15424d72c0119b2b8ed71 (patch) | |
tree | ae02ffed1ca43594b4dcc4a66ddff7f3f24146f3 /urlmatch.c | |
parent | Merge branch 'maint-1.9' into maint-2.0 (diff) | |
download | tgif-21134714787a02a37da15424d72c0119b2b8ed71.tar.xz |
pack-objects: turn off bitmaps when we split packs
If a pack.packSizeLimit is set, we may split the pack data
across multiple packfiles. This means we cannot generate
.bitmap files, as they require that all of the reachable
objects are in the same pack. We check that condition when
we are generating the list of objects to pack (and disable
bitmaps if we are not packing everything), but we forgot to
update it when we notice that we needed to split (which
doesn't happen until the actual write phase).
The resulting bitmaps are quite bogus (they mention entries
that do not exist in the pack!) and can cause a fetch or
push to send insufficient objects.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'urlmatch.c')
0 files changed, 0 insertions, 0 deletions