mirror of
https://github.com/git/git.git
synced 2024-11-28 12:34:08 +08:00
099a912a27
Teach `read_packed_refs()` to also * Allocate and initialize the new `packed_ref_cache` * Open and close the `packed-refs` file * Update the `validity` field of the new object This decreases the coupling between `packed_refs_cache` and `files_ref_store` by a little bit. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
---|---|---|
.. | ||
files-backend.c | ||
iterator.c | ||
ref-cache.c | ||
ref-cache.h | ||
refs-internal.h |