aboutsummaryrefslogtreecommitdiff
path: root/builtin/reflog.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-05-22 16:17:50 +0200
committerJunio C Hamano <gitster@pobox.com>2017-05-23 14:29:55 +0900
commit099a912a279415dd27716ee5de07ff347bfc49da (patch)
treed5c4bff50ad6faf92850d84076a7c51a3880fc3d /builtin/reflog.c
parent28ed9830b1dc65df37bdb3c9b8ef743f1f266262 (diff)
downloadgit-099a912a279415dd27716ee5de07ff347bfc49da.tar.gz
git-099a912a279415dd27716ee5de07ff347bfc49da.tar.xz
read_packed_refs(): do more of the work of reading packed refs
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>
Diffstat (limited to 'builtin/reflog.c')
0 files changed, 0 insertions, 0 deletions