diff options
author | Russell Belfer <rb@github.com> | 2013-04-16 11:51:02 -0700 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-04-22 16:52:06 +0200 |
commit | 3f27127d15dfe69943d3c9ddf96d09a2300de3a9 (patch) | |
tree | 77970a2d28265f4d4319f6613aff4a6501d57c12 /src/tree.h | |
parent | 786062639f05e361da977f3f1f6286141fa12fca (diff) | |
download | libgit2-3f27127d15dfe69943d3c9ddf96d09a2300de3a9.tar.gz |
Simplify object table parse functions
This unifies the object parse functions into one signature that
takes an odb_object.
Diffstat (limited to 'src/tree.h')
-rw-r--r-- | src/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.h b/src/tree.h index cf47fb478..7cb2dd36c 100644 --- a/src/tree.h +++ b/src/tree.h @@ -38,7 +38,7 @@ GIT_INLINE(bool) git_tree_entry__is_tree(const struct git_tree_entry *e) extern int git_tree_entry_icmp(const git_tree_entry *e1, const git_tree_entry *e2); void git_tree__free(void *tree); -int git_tree__parse(void *tree, const char *buf, const char *buf_end); +int git_tree__parse(void *tree, git_odb_object *obj); /** * Lookup the first position in the tree with a given prefix. |