MCPcopy Create free account
hub / github.com/git/git / todo_list_release

Function todo_list_release

sequencer.c:2597–2602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2595}
2596
2597void todo_list_release(struct todo_list *todo_list)
2598{
2599 strbuf_release(&todo_list->buf);
2600 FREE_AND_NULL(todo_list->items);
2601 todo_list->nr = todo_list->alloc = 0;
2602}
2603
2604static struct todo_item *append_new_todo(struct todo_list *todo_list)
2605{

Callers 8

read_populate_todoFunction · 0.85
reread_todo_if_changedFunction · 0.85
sequencer_continueFunction · 0.85
sequencer_pick_revisionsFunction · 0.85
complete_actionFunction · 0.85
edit_todo_fileFunction · 0.85
do_interactive_rebaseFunction · 0.85

Calls 1

strbuf_releaseFunction · 0.85

Tested by

no test coverage detected