1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-19 03:36:09 +02:00
git/refs
Patrick Steinhardt eea0d11d6d refs/reftable: reload correct stack when creating reflog iter
When creating a new reflog iterator, we first have to reload the stack
that the iterator is being created. This is done so that any concurrent
writes to the stack are reflected. But `reflog_iterator_for_stack()`
always reloads the main stack, which is wrong.

Fix this and reload the correct stack.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-03-05 09:10:06 -08:00
..
debug.c refs: always treat iterators as ordered 2024-02-21 09:58:06 -08:00
files-backend.c refs: stop resolving ref corresponding to reflogs 2024-02-21 09:58:06 -08:00
iterator.c refs: always treat iterators as ordered 2024-02-21 09:58:06 -08:00
packed-backend.c refs: always treat iterators as ordered 2024-02-21 09:58:06 -08:00
packed-backend.h Revert "Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'" 2022-04-13 15:51:33 -07:00
ref-cache.c refs: always treat iterators as ordered 2024-02-21 09:58:06 -08:00
ref-cache.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
refs-internal.h refs: always treat iterators as ordered 2024-02-21 09:58:06 -08:00
reftable-backend.c refs/reftable: reload correct stack when creating reflog iter 2024-03-05 09:10:06 -08:00