commit | 19e125498bc417e20f0b8c1014b808654e4acfe4 | [log] [tgz] |
---|---|---|
author | Heiko Voigt <hvoigt@hvoigt.net> | Mon Feb 07 21:50:26 2011 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Feb 07 15:45:54 2011 -0800 |
tree | a1b1e6f2cc0dd4edf847ff48f8b70169e8a0bec9 | |
parent | 337967fb7794b300f1633a413c0db525ab517a3e [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>