diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2017-07-18 14:44:29 -0700 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2017-07-26 10:41:03 +0100 |
commit | bc35fd4b03fc770b574088969dabf07243510cfb (patch) | |
tree | d20670b04c3705387823f5e15c5f1118d51c311e /src/commit.c | |
parent | 192a87e1fe68099beceaa2c8674a7a2e6587f2e7 (diff) | |
download | libgit2-ethomson/win32_remediate.tar.gz |
win32: provide fast-path for retrying filesystem operationsethomson/win32_remediate
When using the `do_with_retries` macro for retrying filesystem
operations in the posix emulation layer, allow the remediation function
to return `GIT_RETRY`, meaning that the error was believed to be
remediated, and the operation should be retried immediately, without
a sleep.
This is a slightly more general solution to the problem fixed in #4312.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions