diff options
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commit.c b/src/commit.c index ce3a4184c..ad89088ae 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__dbo_open((git_repository_object *)commit)) < 0) + if ((error = git_object__source_open((git_object *)commit)) < 0) return error; error = git_commit__parse_buffer(commit, - commit->object.dbo.data, commit->object.dbo.len, parse_flags); + commit->object.source.raw.data, commit->object.source.raw.len, parse_flags); if (close_db_object) - git_repository__dbo_close((git_repository_object *)commit); + git_object__source_close((git_object *)commit); return error; } |