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
b8748c12
Commit
b8748c12
authored
Jul 15, 2012
by
nulltoken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revparse: enhance parsing engine
parent
d448392e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/repository.h
+7
-0
src/revparse.c
+0
-0
No files found.
src/repository.h
View file @
b8748c12
...
@@ -98,6 +98,13 @@ struct git_repository {
...
@@ -98,6 +98,13 @@ struct git_repository {
* export */
* export */
void
git_object__free
(
void
*
object
);
void
git_object__free
(
void
*
object
);
GIT_INLINE
(
int
)
git_object__dup
(
git_object
**
dest
,
git_object
*
source
)
{
git_cached_obj_incref
(
source
);
*
dest
=
source
;
return
0
;
}
int
git_object__resolve_to_type
(
git_object
**
obj
,
git_otype
type
);
int
git_object__resolve_to_type
(
git_object
**
obj
,
git_otype
type
);
int
git_oid__parse
(
git_oid
*
oid
,
const
char
**
buffer_out
,
const
char
*
buffer_end
,
const
char
*
header
);
int
git_oid__parse
(
git_oid
*
oid
,
const
char
**
buffer_out
,
const
char
*
buffer_end
,
const
char
*
header
);
...
...
src/revparse.c
View file @
b8748c12
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