Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
0d2f6824
Commit
0d2f6824
authored
Apr 21, 2017
by
Patrick Steinhardt
Committed by
GitHub
Apr 21, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4210 from pks-t/pks/misc-fixes
Misc fixes
parents
8d89e409
13c275ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
include/git2/global.h
+1
-1
tests/threads/diff.c
+2
-0
No files found.
include/git2/global.h
View file @
0d2f6824
...
...
@@ -14,7 +14,7 @@ GIT_BEGIN_DECL
/**
* Init the global state
*
* This function must
th
e called before any other libgit2 function in
* This function must
b
e 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
...
...
tests/threads/diff.c
View file @
0d2f6824
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment