summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-05-22 16:17:49 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-23 14:29:55 +0900
commit28ed9830b1dc65df37bdb3c9b8ef743f1f266262 (patch)
treedf1ea10365753071d455725a73d7c46ca8060d34 /t
parentshould_pack_ref(): new function, extracted from `files_pack_refs()` (diff)
downloadtgif-28ed9830b1dc65df37bdb3c9b8ef743f1f266262.tar.xz
get_packed_ref_cache(): assume "packed-refs" won't change while locked
If we've got the "packed-refs" file locked, then it can't change; there's no need to keep calling `stat_validity_check()` on it. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions