From: Heiko Voigt Date: Mon, 7 Feb 2011 20:52:34 +0000 (+0100) Subject: mingw: add fallback for rmdir in case directory is in use X-Git-Tag: v1.7.5-rc0~120^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4f288100ceed14c65a1e964b2db4aaee4f4199fc?ds=inline;hp=4f288100ceed14c65a1e964b2db4aaee4f4199fc mingw: add fallback for rmdir in case directory is in use The same logic as for unlink and rename also applies to rmdir. For example in case you have a shell open in a git controlled folder. This will easily fail. So lets be nice for such cases as well. Signed-off-by: Heiko Voigt Signed-off-by: Junio C Hamano ---