diff options
author | Jeff King <peff@peff.net> | 2017-03-24 13:26:50 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-24 12:34:07 -0700 |
commit | 2c5e2865cc3dfc053e71510415f479e165119d04 (patch) | |
tree | b718bd9758d66b6c8fc9b87f20d985bef6244df0 /Documentation/RelNotes/1.7.11.4.txt | |
parent | encode_in_pack_object_header: respect output buffer length (diff) | |
download | tgif-2c5e2865cc3dfc053e71510415f479e165119d04.tar.xz |
pack.h: define largest possible encoded object size
Several callers use fixed buffers for storing the pack
object header, and they've picked 10 as a magic number. This
is reasonable, since it handles objects up to 2^67. But
let's give them a constant so it's clear that the number
isn't pulled out of thin air.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.11.4.txt')
0 files changed, 0 insertions, 0 deletions