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
0269833f
Commit
0269833f
authored
9 years ago
by
Axel Rasmussen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings: expose GIT_USE_NSEC flag in git_libgit2_features
parent
e7de893e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
include/git2/common.h
+3
-2
src/settings.c
+3
-0
No files found.
include/git2/common.h
View file @
0269833f
...
...
@@ -99,8 +99,9 @@ GIT_EXTERN(void) git_libgit2_version(int *major, int *minor, int *rev);
*/
typedef
enum
{
GIT_FEATURE_THREADS
=
(
1
<<
0
),
GIT_FEATURE_HTTPS
=
(
1
<<
1
),
GIT_FEATURE_SSH
=
(
1
<<
2
),
GIT_FEATURE_HTTPS
=
(
1
<<
1
),
GIT_FEATURE_SSH
=
(
1
<<
2
),
GIT_FEATURE_NSEC
=
(
1
<<
3
),
}
git_feature_t
;
/**
...
...
This diff is collapsed.
Click to expand it.
src/settings.c
View file @
0269833f
...
...
@@ -34,6 +34,9 @@ int git_libgit2_features()
#if defined(GIT_SSH)
|
GIT_FEATURE_SSH
#endif
#if defined(GIT_USE_NSEC)
|
GIT_FEATURE_NSEC
#endif
;
}
...
...
This diff is collapsed.
Click to expand it.
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