summaryrefslogtreecommitdiff
path: root/epoch.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-02-23 23:04:52 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-02-23 23:04:52 -0800
commitb76f6b627802d0a3c8bbf66fba0c090dbe56d509 (patch)
treeba4721411f1fe168be18f429fb511c9bd574af1b /epoch.c
parentpack-objects: use full pathname to help hashing with "thin" pack. (diff)
downloadtgif-b76f6b627802d0a3c8bbf66fba0c090dbe56d509.tar.xz
pack-objects: allow "thin" packs to exceed depth limits
When creating a new pack to be used in .git/objects/pack/ directory, we carefully count the depth of deltified objects to be reused, so that the generated pack does not to exceed the specified depth limit for runtime efficiency. However, when we are generating a thin pack that does not contain base objects, such a pack can only be used during network transfer that is expanded on the other end upon reception, so being careful and artificially cutting the delta chain does not buy us anything except increased bandwidth requirement. This patch disables the delta chain depth limit check when reusing an existing delta. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'epoch.c')
0 files changed, 0 insertions, 0 deletions