MCPcopy Index your code
hub / github.com/git/git / is_final_fixup

Function is_final_fixup

sequencer.c:4632–4645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4630}
4631
4632static int is_final_fixup(struct todo_list *todo_list)
4633{
4634 int i = todo_list->current;
4635
4636 if (!is_fixup(todo_list->items[i].command))
4637 return 0;
4638
4639 while (++i < todo_list->nr)
4640 if (is_fixup(todo_list->items[i].command))
4641 return 0;
4642 else if (!is_noop(todo_list->items[i].command))
4643 break;
4644 return 1;
4645}
4646
4647static enum todo_command peek_command(struct todo_list *todo_list, int offset)
4648{

Callers 1

pick_one_commitFunction · 0.85

Calls 2

is_fixupFunction · 0.85
is_noopFunction · 0.85

Tested by

no test coverage detected