1
0
mirror of https://github.com/git/git.git synced 2025-03-22 21:16:33 +00:00
git/compat
Erik Faye-Lund a83b2b578c mingw_rmdir: do not prompt for retry when non-empty
in ab1a11be ("mingw_rmdir: set errno=ENOTEMPTY when appropriate"),
a check was added to prevent us from retrying to delete a directory
that is both in use and non-empty.

However, this logic was slightly flawed; since we didn't return
immediately, we end up falling out of the retry-loop, but right into
the prompting-loop.

Fix this by setting errno, and guarding the prompting-loop with an
errno-check.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-12-10 08:23:53 -08:00
..
2012-06-22 14:25:04 -07:00
2008-09-30 14:30:06 -07:00
2009-03-02 18:28:06 -08:00
2007-06-07 00:04:01 -07:00
2010-11-23 16:06:50 -08:00
2011-10-31 20:06:03 -07:00
2011-09-11 14:43:33 -07:00
2011-08-28 22:03:26 -07:00
2010-08-14 19:35:38 -07:00
2009-09-18 20:00:42 -07:00