summaryrefslogtreecommitdiff
path: root/diffcore-rename.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-05-13 10:47:11 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-13 17:04:16 -0700
commitdfdd1455bbb2eed6674964000d037cd213687a33 (patch)
tree3f188fac8c19914a1f2b17d2c2fbbae0e17db288 /diffcore-rename.c
parent9a59b65dba0820671753f636e9417bfd63ea20c1 (diff)
reftable/reader: unify indexed and linear seeking
In `reader_seek_internal()` we either end up doing an indexed seek when there is one or a linear seek otherwise. These two code paths are disjunct without a good reason, where the indexed seek will cause us to exit early. Refactor the two code paths such that it becomes possible to share a bit more code between them. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-rename.c')
0 files changed, 0 insertions, 0 deletions