Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-16 22:51:02 +0400
committerVicent Marti <tanoku@gmail.com>2013-04-22 18:52:06 +0400
commit3f27127d15dfe69943d3c9ddf96d09a2300de3a9 (patch)
tree77970a2d28265f4d4319f6613aff4a6501d57c12 /src/tree.h
parent786062639f05e361da977f3f1f6286141fa12fca (diff)
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.h2
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.