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

Function unsupported_magic

pathspec.c:581–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579}
580
581static void NORETURN unsupported_magic(const char *pattern,
582 unsigned magic)
583{
584 struct strbuf sb = STRBUF_INIT;
585 pathspec_magic_names(magic, &sb);
586 /*
587 * We may want to substitute "this command" with a command
588 * name. E.g. when "git add -p" or "git add -i" dies when running
589 * "checkout -p"
590 */
591 die(_("%s: pathspec magic not supported by this command: %s"),
592 pattern, sb.buf);
593}
594
595void parse_pathspec(struct pathspec *pathspec,
596 unsigned magic_mask, unsigned flags,

Callers 1

parse_pathspecFunction · 0.85

Calls 2

pathspec_magic_namesFunction · 0.85
dieFunction · 0.70

Tested by

no test coverage detected