summaryrefslogtreecommitdiff
path: root/t/t4135/funny-tz.diff
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-05-22 16:17:50 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-23 14:29:55 +0900
commit099a912a279415dd27716ee5de07ff347bfc49da (patch)
treed5c4bff50ad6faf92850d84076a7c51a3880fc3d /t/t4135/funny-tz.diff
parentget_packed_ref_cache(): assume "packed-refs" won't change while locked (diff)
downloadtgif-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 't/t4135/funny-tz.diff')
0 files changed, 0 insertions, 0 deletions