We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a58ce9f commit 3592070Copy full SHA for 3592070
ObjectiveGit/GTTreeBuilder.m
@@ -68,7 +68,7 @@ - (id)initWithTree:(GTTree *)treeOrNil repository:(GTRepository *)repository err
68
self = [super init];
69
if (self == nil) return nil;
70
71
- int status = git_treebuilder_create(&_git_treebuilder, repository.git_repository, treeOrNil.git_tree);
+ int status = git_treebuilder_new(&_git_treebuilder, repository.git_repository, treeOrNil.git_tree);
72
if (status != GIT_OK) {
73
if (error != NULL) *error = [NSError git_errorFor:status description:@"Failed to create tree builder with tree %@.", treeOrNil.SHA];
74
return nil;
0 commit comments