aboutsummaryrefslogtreecommitdiffstats
path: root/refs/files-backend.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-08-23 16:12:51 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-23 08:04:47 -0700
commit89eada4ea1f7a9c0a5f9b9e29592daa0847a79fc (patch)
tree79d58bba78b50872ed20e3f88abcd18b3f085a09 /refs/files-backend.c
parentreftable/reader: introduce refcounting (diff)
downloadgit-89eada4ea1f7a9c0a5f9b9e29592daa0847a79fc.tar.gz
git-89eada4ea1f7a9c0a5f9b9e29592daa0847a79fc.zip
reftable/reader: keep readers alive during iteration
The lifetime of a table iterator may survive the lifetime of a reader when the stack gets reloaded. Keep the reader from being released by increasing its refcount while the iterator is still being used. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions