Re: [PATCH] files_initial_transaction_commit(): only unlock if locked

2018-01-22 Thread Mathias Rav
2018-01-22 10:25 +0100 Michael Haggerty : > On 01/19/2018 11:14 PM, Junio C Hamano wrote: > > Jeff King writes: > > > >> On Thu, Jan 18, 2018 at 02:38:41PM +0100, Mathias Rav wrote: > >> > >>> Running git clone --single-branch --mirror -b TAG

[PATCH] files_initial_transaction_commit(): only unlock if locked

2018-01-18 Thread Mathias Rav
bel since the unlocking should only be done in the last error path. Signed-off-by: Mathias Rav --- refs/files-backend.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/refs/files-backend.c b/refs/files-backend.c index a80d60aa0..afe5c4e94 100644 --- a/refs/files-backen