author | Heiko Voigt <hvoigt@hvoigt.net> | |
Tue, 14 Dec 2010 22:44:14 +0000 (23:44 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 14 Dec 2010 23:36:43 +0000 (15:36 -0800) | ||
commit | 36724172bf062231a23c927e35c9beae56ba7f00 | |
tree | 9fa9c30fbaf291e4b18c7311ea51d2469e547d8d | tree | snapshot |
parent | 9691c4e51876e2b149994153eef92c20e9220f6c | commit | diff |
mingw: work around irregular failures of unlink on windows
If a file is opened by another process (e.g. indexing of an IDE) for
reading it is not allowed to be deleted. So in case unlink fails retry
after waiting for some time. This extends the workaround from 6ac6f878.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If a file is opened by another process (e.g. indexing of an IDE) for
reading it is not allowed to be deleted. So in case unlink fails retry
after waiting for some time. This extends the workaround from 6ac6f878.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c | diff | blob | history |