diff options
author | Christian Couder <christian.couder@gmail.com> | 2020-06-04 19:54:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-04 10:58:27 -0700 |
commit | 339a9840ef8258a75e07fee640ccceecd20ade31 (patch) | |
tree | a5967190201e20554ee2f22c672e94e9f0af0b9a /t/t5702-protocol-v2.sh | |
parent | upload-pack: move allow_sideband_all to upload_pack_data (diff) | |
download | tgif-339a9840ef8258a75e07fee640ccceecd20ade31.tar.xz |
upload-pack: move pack_objects_hook to upload_pack_data
As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's move the 'pack_objects_hook' static
variable into this struct.
It is used by code common to protocol v0 and protocol v2.
While at it let's also free() it in upload_pack_data_clear().
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5702-protocol-v2.sh')
0 files changed, 0 insertions, 0 deletions