diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-01-24 12:01:34 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-01-25 08:15:44 +0100 |
commit | 47e28349bc4874114e2cfce0b91c40938b105b25 (patch) | |
tree | 25d318779f5d1d4b36187db46ff5235ed7898e21 | |
parent | d541170c77b7ac738e2ffcdd04c838fb7cbbfb87 (diff) | |
download | libgit2-47e28349bc4874114e2cfce0b91c40938b105b25.tar.gz |
commit: remvoe legacy 'oid' naming
-rw-r--r-- | include/git2/sys/commit.h | 2 | ||||
-rw-r--r-- | src/commit.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/sys/commit.h b/include/git2/sys/commit.h index 34a12fb15..c8ed56b66 100644 --- a/include/git2/sys/commit.h +++ b/include/git2/sys/commit.h @@ -29,7 +29,7 @@ GIT_BEGIN_DECL * the `tree`, neither the `parents` list of `git_oid`s are checked for * validity. */ -GIT_EXTERN(int) git_commit_create_from_oids( +GIT_EXTERN(int) git_commit_create_from_ids( git_oid *oid, git_repository *repo, const char *update_ref, diff --git a/src/commit.c b/src/commit.c index e437cffe6..da7c4992e 100644 --- a/src/commit.c +++ b/src/commit.c @@ -69,7 +69,7 @@ int git_commit_create_v( return res; } -int git_commit_create_from_oids( +int git_commit_create_from_ids( git_oid *oid, git_repository *repo, const char *update_ref, @@ -148,7 +148,7 @@ int git_commit_create( 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, message_encoding, message, git_object_id((const git_object *)tree), parent_count, parent_oids); |