diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/notes.c | 2 | ||||
-rw-r--r-- | src/tree.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/notes.c b/src/notes.c index a0bc0d355..f44c0bd95 100644 --- a/src/notes.c +++ b/src/notes.c @@ -107,7 +107,7 @@ static int tree_write( const git_tree_entry *entry; git_oid tree_oid; - if ((error = git_treebuilder_create(&tb, repo, source_tree)) < 0) + if ((error = git_treebuilder_new(&tb, repo, source_tree)) < 0) goto cleanup; if (object_oid) { diff --git a/src/tree.c b/src/tree.c index 57cc95387..9693f4eca 100644 --- a/src/tree.c +++ b/src/tree.c @@ -490,7 +490,7 @@ static int write_tree( return (int)find_next_dir(dirname, index, start); } - if ((error = git_treebuilder_create(&bld, repo, NULL)) < 0 || bld == NULL) + if ((error = git_treebuilder_new(&bld, repo, NULL)) < 0 || bld == NULL) return -1; /* @@ -624,7 +624,7 @@ int git_tree__write_index( return ret; } -int git_treebuilder_create( +int git_treebuilder_new( git_treebuilder **builder_p, git_repository *repo, const git_tree *source) |