summaryrefslogtreecommitdiff
path: root/refs/refs-internal.h
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-09-25 10:00:12 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-25 18:02:45 +0900
commitd1cf15516feb024f34ae5fbbdad8f538b4e62fce (patch)
treef2ce7a7457ffa46d47e8ac065bc4a70a4f556bd2 /refs/refs-internal.h
parentread_packed_refs(): ensure that references are ordered when read (diff)
downloadtgif-d1cf15516feb024f34ae5fbbdad8f538b4e62fce.tar.xz
packed_ref_iterator_begin(): iterate using `mmapped_ref_iterator`
Now that we have an efficient way to iterate, in order, over the mmapped contents of the `packed-refs` file, we can use that directly to implement reference iteration for the `packed_ref_store`, rather than iterating over the `ref_cache`. This is the next step towards getting rid of the `ref_cache` entirely. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/refs-internal.h')
0 files changed, 0 insertions, 0 deletions