aboutsummaryrefslogtreecommitdiffstats
path: root/refs/iterator.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-04refs: drop infrastructure to peel via iteratorsPatrick Steinhardt1-36/+0
2025-11-04refs: drop `current_ref_iter` hackPatrick Steinhardt1-5/+0
2025-11-04refs: introduce `.ref` field for the base iteratorPatrick Steinhardt1-27/+12
2025-11-04refs: introduce wrapper struct for `each_ref_fn`Patrick Steinhardt1-1/+8
2025-07-15refs: selectively set prefix in the seek functionsKarthik Nayak1-11/+15
2025-03-12refs/iterator: implement seeking for merged iteratorsPatrick Steinhardt1-9/+29
2025-03-12refs/iterator: provide infrastructure to re-seek iteratorsPatrick Steinhardt1-0/+24
2025-03-12refs/iterator: separate lifecycle from iterationPatrick Steinhardt1-65/+35
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt1-0/+2
2024-08-09refs: add referent to each_ref_fnJohn Cai1-1/+1
2024-08-09refs: keep track of unresolved reference value in iteratorsJohn Cai1-0/+2
2024-05-17refs: convert iteration over replace refs to accept ref storePatrick Steinhardt1-3/+3
2024-02-21refs: always treat iterators as orderedPatrick Steinhardt1-18/+8
2024-02-21refs/files: sort merged worktree and common reflogsPatrick Steinhardt1-0/+43
2023-03-21treewide: remove unnecessary cache.h inclusion from several sourcesElijah Newren1-1/+1
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-3/+3
2022-08-19refs: mark unused virtual method parametersJeff King1-3/+3
2022-03-17refs: use designated initializers for "struct ref_iterator_vtable"Ævar Arnfjörð Bjarmason1-9/+9
2021-03-13use CALLOC_ARRAYRené Scharfe1-1/+1
2018-08-21refs.c: migrate internal ref iteration to pass thru repository argumentStefan Beller1-3/+3
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-3/+3
2017-09-14prefix_ref_iterator: break when we leave the prefixJeff King1-1/+31
2017-09-14ref_iterator: keep track of whether the iterator output is orderedMichael Haggerty1-5/+10
2017-05-23prefix_ref_iterator: don't trim too muchMichael Haggerty1-1/+17
2016-06-20do_for_each_ref(): reimplement using reference iterationMichael Haggerty1-0/+29
2016-06-20refs: introduce an iterator interfaceMichael Haggerty1-0/+355