clear_packed_ref_cache(): don't protest if the lock is held
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 23 Jun 2017 07:01:44 +0000 (09:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Jun 2017 20:27:33 +0000 (13:27 -0700)
commit9051198214d3e5ec325917d93116bec55addaf5b
tree3aa13b6cc62dd087215af9e93cc5e1e1db2a86a6
parent49aebcf4328d96bb984672213de76cd4c45197f2
clear_packed_ref_cache(): don't protest if the lock is held

The existing callers already check that the lock isn't held just
before calling `clear_packed_ref_cache()`, and in the near future we
want to be able to call this function when the lock is held.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/packed-backend.c