author | Heiko Voigt <hvoigt@hvoigt.net> | |
Mon, 7 Feb 2011 20:50:26 +0000 (21:50 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 7 Feb 2011 23:45:54 +0000 (15:45 -0800) | ||
commit | 19e125498bc417e20f0b8c1014b808654e4acfe4 | |
tree | a1b1e6f2cc0dd4edf847ff48f8b70169e8a0bec9 | tree | snapshot |
parent | 337967fb7794b300f1633a413c0db525ab517a3e | 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 |