diff options
author | yuangli <yuangli@mathworks.com> | 2022-07-28 16:05:21 +0100 |
---|---|---|
committer | yuangli <yuangli@mathworks.com> | 2022-07-28 16:05:21 +0100 |
commit | a544a91058cc310a0e36e290debe5ad59040fab1 (patch) | |
tree | 9f806058f8c4aa1beb97a7c58681d5bbb2eb8f5e /src/libgit2/commit.c | |
parent | 62cc77a16d62410140e31960189e566f16b22772 (diff) | |
download | libgit2-a544a91058cc310a0e36e290debe5ad59040fab1.tar.gz |
rename function assign_parents_from_graft
Diffstat (limited to 'src/libgit2/commit.c')
-rw-r--r-- | src/libgit2/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgit2/commit.c b/src/libgit2/commit.c index 6f689e362..43d04b2c0 100644 --- a/src/libgit2/commit.c +++ b/src/libgit2/commit.c @@ -499,7 +499,7 @@ int git_commit__parse_raw(void *commit, const char *data, size_t size) return commit_parse(commit, data, size, 0); } -static int assign_parents_from_graft(git_commit *commit, git_commit_graft *graft) { +static int assign_commit_parents_from_graft(git_commit *commit, git_commit_graft *graft) { size_t idx; git_oid *oid; @@ -533,7 +533,7 @@ int git_commit__parse_ext(git_commit *commit, git_odb_object *odb_obj, unsigned git_grafts_get(&graft, repo->shallow_grafts, git_odb_object_id(odb_obj)) != 0) return 0; - return assign_parents_from_graft(commit, graft); + return assign_commit_parents_from_graft(commit, graft); } int git_commit__parse(void *_commit, git_odb_object *odb_obj) |