Merge branch 'ag/sequencer-remove-unused-struct-member' into next

Code clean-up.

* ag/sequencer-remove-unused-struct-member:
  sequencer: remove todo_add_branch_context.commit
This commit is contained in:
Junio C Hamano
2026-05-17 23:01:22 +09:00

View File

@@ -6438,7 +6438,6 @@ struct todo_add_branch_context {
size_t items_nr;
size_t items_alloc;
struct strbuf *buf;
struct commit *commit;
struct string_list refs_to_oids;
};
@@ -6533,7 +6532,6 @@ static int todo_list_add_update_ref_commands(struct todo_list *todo_list)
ctx.items[ctx.items_nr++] = todo_list->items[i++];
if (item->commit) {
ctx.commit = item->commit;
add_decorations_to_list(item->commit, &ctx);
}
}