summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commit.c b/src/commit.c
index 8a3eb5ff..ce3a4184 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -69,14 +69,14 @@ int git_commit__parse(git_commit *commit, unsigned int parse_flags, int close_db
{
int error = 0;
- if ((error = git_repository__open_dbo((git_repository_object *)commit)) < 0)
+ if ((error = git_repository__dbo_open((git_repository_object *)commit)) < 0)
return error;
error = git_commit__parse_buffer(commit,
commit->object.dbo.data, commit->object.dbo.len, parse_flags);
if (close_db_object)
- git_repository__close_dbo((git_repository_object *)commit);
+ git_repository__dbo_close((git_repository_object *)commit);
return error;
}