Karsten Blees 31a1302660 Win32: factor out retry logic
The retry pattern is duplicated in three places. It also seems to be too
hard to use: mingw_unlink() and mingw_rmdir() duplicate the code to retry,
and both of them do so incompletely. They also do not restore errno if the
user answers 'no'.

Introduce a retry_ask_yes_no() helper function that handles retry with
small delay, asking the user, and restoring errno.

mingw_unlink: include _wchmod in the retry loop (which may fail if the
file is locked exclusively).

mingw_rmdir: include special error handling in the retry loop.

Signed-off-by: Karsten Blees <blees@dcon.de>
2015-05-24 00:20:41 +02:00
2015-05-24 00:20:41 +02:00
2015-05-01 15:35:58 +02:00
2015-05-01 15:35:57 +02:00
2015-05-01 15:33:30 +02:00
2015-05-01 15:33:30 +02:00
2015-04-30 11:25:06 -07:00
2015-03-27 13:02:32 -07:00
2015-05-01 15:35:59 +02:00
2015-05-01 15:36:00 +02:00
2015-04-27 12:25:36 -07:00

Git for Windows

Join the chat at https://gitter.im/git-for-windows/git

This is the source code of Git for Windows, forked from Git.

This project is run by a governance model. If you encounter problems, you can report them as GitHub issues, discuss them on Git for Windows' Google Group, and contribute bug fixes.

Description
No description provided
Readme 692 MiB
Languages
C 50.5%
Shell 38.8%
Perl 4.4%
Tcl 3.2%
Python 0.8%
Other 2.1%