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
02bc2d2f
Commit
02bc2d2f
authored
Jun 30, 2011
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #288 from nulltoken/patch-4
GIT_EXTERN'd head_detached() and head_orphan()
parents
2dfc0887
408d733b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/git2/repository.h
+2
-2
No files found.
include/git2/repository.h
View file @
02bc2d2f
...
@@ -228,7 +228,7 @@ GIT_EXTERN(int) git_repository_init(git_repository **repo_out, const char *path,
...
@@ -228,7 +228,7 @@ GIT_EXTERN(int) git_repository_init(git_repository **repo_out, const char *path,
* @return 1 if HEAD is detached, 0 if i'ts not; error code if there
* @return 1 if HEAD is detached, 0 if i'ts not; error code if there
* was an error.
* was an error.
*/
*/
int
git_repository_head_detached
(
git_repository
*
repo
);
GIT_EXTERN
(
int
)
git_repository_head_detached
(
git_repository
*
repo
);
/**
/**
* Check if the current branch is an orphan
* Check if the current branch is an orphan
...
@@ -240,7 +240,7 @@ int git_repository_head_detached(git_repository *repo);
...
@@ -240,7 +240,7 @@ int git_repository_head_detached(git_repository *repo);
* @return 1 if the current branch is an orphan, 0 if it's not; error
* @return 1 if the current branch is an orphan, 0 if it's not; error
* code if therewas an error
* code if therewas an error
*/
*/
int
git_repository_head_orphan
(
git_repository
*
repo
);
GIT_EXTERN
(
int
)
git_repository_head_orphan
(
git_repository
*
repo
);
/**
/**
* Check if a repository is empty
* Check if a repository is empty
...
...
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