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
6a0895ad
Commit
6a0895ad
authored
Feb 11, 2011
by
nulltoken
Committed by
Vicent Marti
Mar 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added GIT_EINVALIDREFSTATE error.
parent
aa2120e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
src/errors.c
+2
-1
src/git2/common.h
+3
-0
No files found.
src/errors.c
View file @
6a0895ad
...
...
@@ -26,7 +26,8 @@ static struct {
{
GIT_ETOONESTEDSYMREF
,
"The specified symbolic reference is too deeply nested"
},
{
GIT_EPACKEDREFSCORRUPTED
,
"The pack-refs file is either corrupted of its format is not currently supported"
},
{
GIT_EINVALIDPATH
,
"The path is invalid"
},
{
GIT_EREVWALKOVER
,
"The revision walker is empty; there are no more commits left to iterate"
}
{
GIT_EREVWALKOVER
,
"The revision walker is empty; there are no more commits left to iterate"
},
{
GIT_EINVALIDREFSTATE
,
"The state of the reference is not valid"
}
};
const
char
*
git_strerror
(
int
num
)
...
...
src/git2/common.h
View file @
6a0895ad
...
...
@@ -154,6 +154,9 @@
/** The revision walker is empty; there are no more commits left to iterate */
#define GIT_EREVWALKOVER (GIT_ERROR - 20)
/** The state of the reference is not valid */
#define GIT_EINVALIDREFSTATE (GIT_ERROR - 21)
GIT_BEGIN_DECL
/** @} */
GIT_END_DECL
...
...
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