Commit 47e28349 by Carlos Martín Nieto

commit: remvoe legacy 'oid' naming

parent d541170c
...@@ -29,7 +29,7 @@ GIT_BEGIN_DECL ...@@ -29,7 +29,7 @@ GIT_BEGIN_DECL
* the `tree`, neither the `parents` list of `git_oid`s are checked for * the `tree`, neither the `parents` list of `git_oid`s are checked for
* validity. * validity.
*/ */
GIT_EXTERN(int) git_commit_create_from_oids( GIT_EXTERN(int) git_commit_create_from_ids(
git_oid *oid, git_oid *oid,
git_repository *repo, git_repository *repo,
const char *update_ref, const char *update_ref,
......
...@@ -69,7 +69,7 @@ int git_commit_create_v( ...@@ -69,7 +69,7 @@ int git_commit_create_v(
return res; return res;
} }
int git_commit_create_from_oids( int git_commit_create_from_ids(
git_oid *oid, git_oid *oid,
git_repository *repo, git_repository *repo,
const char *update_ref, const char *update_ref,
...@@ -148,7 +148,7 @@ int git_commit_create( ...@@ -148,7 +148,7 @@ int git_commit_create(
parent_oids[i] = git_object_id((const git_object *)parents[i]); parent_oids[i] = git_object_id((const git_object *)parents[i]);
} }
retval = git_commit_create_from_oids( retval = git_commit_create_from_ids(
oid, repo, update_ref, author, committer, oid, repo, update_ref, author, committer,
message_encoding, message, message_encoding, message,
git_object_id((const git_object *)tree), parent_count, parent_oids); git_object_id((const git_object *)tree), parent_count, parent_oids);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment