We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d89e40 + 13c275a commit 0d2f682Copy full SHA for 0d2f682
include/git2/global.h
@@ -14,7 +14,7 @@ GIT_BEGIN_DECL
14
/**
15
* Init the global state
16
*
17
- * This function must the called before any other libgit2 function in
+ * This function must be called before any other libgit2 function in
18
* order to set up global state and threading.
19
20
* This function may be called multiple times - it will return the number
tests/threads/diff.c
@@ -19,7 +19,9 @@ static git_repository *_repo;
static git_tree *_a, *_b;
static git_atomic _counts[4];
21
static int _check_counts;
22
+#ifdef GIT_WIN32
23
static int _retries;
24
+#endif
25
26
#define THREADS 20
27
0 commit comments