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

Function action_name

sequencer.c:460–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460static const char *action_name(const struct replay_opts *opts)
461{
462 switch (opts->action) {
463 case REPLAY_REVERT:
464 return N_("revert");
465 case REPLAY_PICK:
466 return N_("cherry-pick");
467 case REPLAY_INTERACTIVE_REBASE:
468 return N_("rebase");
469 }
470 die(_("unknown action: %d"), opts->action);
471}
472
473struct commit_message {
474 char *parent_label;

Callers 6

error_dirty_indexFunction · 0.70
fast_forward_toFunction · 0.70
do_recursive_mergeFunction · 0.70
sequencer_reflog_actionFunction · 0.70
read_and_refresh_cacheFunction · 0.70
do_resetFunction · 0.70

Calls 1

dieFunction · 0.70

Tested by

no test coverage detected