summaryrefslogtreecommitdiff
path: root/tests/repo/iterator.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-12-27 12:09:11 +0000
committerCarlos Martín Nieto <cmn@dwim.me>2014-12-27 12:09:11 +0000
commit208a2c8aef59a842d1bec1e6bc83340b1c22c13f (patch)
tree38568d8778b7592f3c561445c3d8945006473e78 /tests/repo/iterator.c
parentaad27e6ef650904843dc4bd9308db97899e700e2 (diff)
downloadlibgit2-208a2c8aef59a842d1bec1e6bc83340b1c22c13f.tar.gz
treebuilder: rename _create() to _new()cmn/treebuilder-new
This function is a constructor, so let's name it like one and leave _create() for the reference functions, which do create/write the reference.
Diffstat (limited to 'tests/repo/iterator.c')
-rw-r--r--tests/repo/iterator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/repo/iterator.c b/tests/repo/iterator.c
index 0e8793d99..a1aa4b2c7 100644
--- a/tests/repo/iterator.c
+++ b/tests/repo/iterator.c
@@ -427,7 +427,7 @@ static void build_test_tree(
git_buf name = GIT_BUF_INIT;
va_list arglist;
- cl_git_pass(git_treebuilder_create(&builder, repo, NULL)); /* start builder */
+ cl_git_pass(git_treebuilder_new(&builder, repo, NULL)); /* start builder */
va_start(arglist, fmt);
while (*scan) {