Close files opened by lock_file() before unlinking.
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 13 Nov 2007 20:05:03 +0000 (21:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2007 23:18:39 +0000 (15:18 -0800)
commit4723ee992cba052dc735b7d2b6f43aad26d9150a
tree054caef1affda565abda6af31e938fab32971a4e
parent2488df84a28b5eaae5495a59e390b51874d60a03
Close files opened by lock_file() before unlinking.

This is needed on Windows since open files cannot be unlinked.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
lockfile.c