aboutsummaryrefslogtreecommitdiffstats
path: root/t/t5551-http-fetch-smart.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2024-09-24 17:58:00 -0400
committerJunio C Hamano <gitster@pobox.com>2024-09-25 10:24:54 -0700
commitd121a7dd21a58a749b7640d23888ddac27c577c9 (patch)
treed154a18c0695b67fb4cf8a16bfacbd34b3c27d2f /t/t5551-http-fetch-smart.sh
parentea4780307cc5007c6136ed216d45841d21ccfe75 (diff)
downloadgit-d121a7dd21a58a749b7640d23888ddac27c577c9.tar.gz
fetch-pack: clear pack lockfiles list
If the --lock-pack option is passed (which it typically is when fetch-pack is used under the hood by smart-http), then we may end up with entries in our pack_lockfiles string_list. We need to clear them before returning to avoid a leak. In git-fetch this isn't a problem, since the same cleanup happens via transport_unlock_pack(). But the leak is detectable in t5551, which does http fetches. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5551-http-fetch-smart.sh')
0 files changed, 0 insertions, 0 deletions