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

Function command_to_string

sequencer.c:1841–1848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1839};
1840
1841static const char *command_to_string(const enum todo_command command)
1842{
1843 if (command < TODO_COMMENT)
1844 return todo_command_info[command].str;
1845 if (command == TODO_COMMENT)
1846 return comment_line_str;
1847 die(_("unknown command: %d"), command);
1848}
1849
1850static char command_to_char(const enum todo_command command)
1851{

Callers 5

update_squash_messagesFunction · 0.85
do_pick_commitFunction · 0.85
parse_insn_lineFunction · 0.85
todo_list_to_strbufFunction · 0.85

Calls 1

dieFunction · 0.70

Tested by

no test coverage detected