summaryrefslogtreecommitdiff
path: root/t/t2018-checkout-branch.sh
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2020-06-04 19:54:50 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-06-04 10:58:27 -0700
commit339a9840ef8258a75e07fee640ccceecd20ade31 (patch)
treea5967190201e20554ee2f22c672e94e9f0af0b9a /t/t2018-checkout-branch.sh
parentupload-pack: move allow_sideband_all to upload_pack_data (diff)
downloadtgif-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/t2018-checkout-branch.sh')
0 files changed, 0 insertions, 0 deletions