Merge pull request #4210 from pks-t/pks/misc-fixes

Misc fixes
This commit is contained in:
Patrick Steinhardt 2017-04-21 15:39:03 +02:00 committed by GitHub
commit 0d2f6824eb
2 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,7 @@ GIT_BEGIN_DECL
/**
* Init the global state
*
* This function must the called before any other libgit2 function in
* This function must be called before any other libgit2 function in
* order to set up global state and threading.
*
* This function may be called multiple times - it will return the number

View File

@ -19,7 +19,9 @@ static git_repository *_repo;
static git_tree *_a, *_b;
static git_atomic _counts[4];
static int _check_counts;
#ifdef GIT_WIN32
static int _retries;
#endif
#define THREADS 20