summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-05-22 16:17:49 +0200
committerJunio C Hamano <gitster@pobox.com>2017-05-23 14:29:55 +0900
commit28ed9830b1dc65df37bdb3c9b8ef743f1f266262 (patch)
treedf1ea10365753071d455725a73d7c46ca8060d34 /diff.c
parent531cc4a56da1eff87cb57d90012197eb6d721edd (diff)
downloadgit-28ed9830b1dc65df37bdb3c9b8ef743f1f266262.tar.gz
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 'diff.c')
0 files changed, 0 insertions, 0 deletions