Commit 48f09c6c by Edward Thomson

win32: only set `git_win32__retries` where it exists

parent 89d403cc
...@@ -25,14 +25,19 @@ static int _retries; ...@@ -25,14 +25,19 @@ static int _retries;
void test_threads_diff__initialize(void) void test_threads_diff__initialize(void)
{ {
#ifdef GIT_WIN32
_retries = git_win32__retries; _retries = git_win32__retries;
git_win32__retries = 1; git_win32__retries = 1;
#endif
} }
void test_threads_diff__cleanup(void) void test_threads_diff__cleanup(void)
{ {
cl_git_sandbox_cleanup(); cl_git_sandbox_cleanup();
#ifdef GIT_WIN32
git_win32__retries = _retries; git_win32__retries = _retries;
#endif
} }
static void setup_trees(void) static void setup_trees(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment