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:
authorJohn Wiegley <johnw@fpcomplete.com>2013-01-29 01:56:04 +0400
committerJohn Wiegley <johnw@fpcomplete.com>2013-01-29 02:35:43 +0400
commit5fb982066452b08da2434d5148c1539847dff838 (patch)
tree7c4cfc4cdfa198caae749cd0d1cb419c955a27e2 /src/tree.c
parent96447d24f32052bf2755085eaab491e8f3ec9f56 (diff)
Added git_treebuilder_entrycount
Conflicts: src/tree.c
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tree.c b/src/tree.c
index c34e9b940..f64ff3250 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -340,6 +340,12 @@ size_t git_tree_entrycount(const git_tree *tree)
return tree->entries.length;
}
+unsigned int git_treebuilder_entrycount(git_treebuilder *bld)
+{
+ assert(bld);
+ return bld->entries.length;
+}
+
static int tree_error(const char *str, const char *path)
{
if (path)