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:
Junio C Hamano
2026-02-06 21:07:53 -08:00
40 changed files with 163 additions and 144 deletions

View File

@@ -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;