mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-02 14:37:30 +00:00
revparse: enhance parsing engine
This commit is contained in:
parent
d448392e5d
commit
b8748c1217
@ -98,6 +98,13 @@ struct git_repository {
|
||||
* export */
|
||||
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_oid__parse(git_oid *oid, const char **buffer_out, const char *buffer_end, const char *header);
|
||||
|
1099
src/revparse.c
1099
src/revparse.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user