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

Function die_ff_impossible

advice.c:242–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242void NORETURN die_ff_impossible(void)
243{
244 advise_if_enabled(ADVICE_DIVERGING,
245 _("Diverging branches can't be fast-forwarded, you need to either:\n"
246 "\n"
247 "\tgit merge --no-ff\n"
248 "\n"
249 "or:\n"
250 "\n"
251 "\tgit rebase\n"));
252 die(_("Not possible to fast-forward, aborting."));
253}
254
255void advise_on_updating_sparse_paths(struct string_list *pathspec_list)
256{

Callers 2

cmd_mergeFunction · 0.85
cmd_pullFunction · 0.85

Calls 2

advise_if_enabledFunction · 0.85
dieFunction · 0.70

Tested by

no test coverage detected