mirror of
https://github.com/git/git.git
synced 2026-03-06 07:19:08 +01:00
Merge branch 'ps/commit-list-functions-renamed' into next
Rename three functions around the commit_list data structure. * ps/commit-list-functions-renamed: commit: rename `free_commit_list()` to conform to coding guidelines commit: rename `reverse_commit_list()` to conform to coding guidelines commit: rename `copy_commit_list()` to conform to coding guidelines
This commit is contained in:
@@ -965,7 +965,7 @@ static int fill_commit_in_graph(struct commit *item,
|
||||
do {
|
||||
if (g->chunk_extra_edges_size / sizeof(uint32_t) <= parent_data_pos) {
|
||||
error(_("commit-graph extra-edges pointer out of bounds"));
|
||||
free_commit_list(item->parents);
|
||||
commit_list_free(item->parents);
|
||||
item->parents = NULL;
|
||||
item->object.parsed = 0;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user