summaryrefslogtreecommitdiff
path: root/t/unit-tests/t-hashmap.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-08-23 16:12:54 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-23 08:04:47 -0700
commit1302ed68d4f5452242d47ac609b06b793a18ea0b (patch)
tree2b24d3408ec04351c21ddd22cae0693d3ef1ad0f /t/unit-tests/t-hashmap.c
parent89eada4ea1f7a9c0a5f9b9e29592daa0847a79fc (diff)
reftable/stack: reorder swapping in the reloaded stack contents
The code flow of how we swap in the reloaded stack contents is somewhat convoluted because we switch back and forth between swapping in different parts of the stack. Reorder the code to simplify it. We now first close and unlink the old tables which do not get reused before we update the stack to point to the new stack. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-hashmap.c')
0 files changed, 0 insertions, 0 deletions