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

Function warn_multiple_config

submodule-config.c:533–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533static void warn_multiple_config(const struct object_id *treeish_name,
534 const char *name, const char *option)
535{
536 const char *commit_string = "WORKTREE";
537 if (treeish_name)
538 commit_string = oid_to_hex(treeish_name);
539 warning("%s:.gitmodules, multiple configurations found for "
540 "'submodule.%s.%s'. Skipping second one!",
541 commit_string, name, option);
542}
543
544static void warn_command_line_option(const char *var, const char *value)
545{

Callers 1

parse_configFunction · 0.85

Calls 2

oid_to_hexFunction · 0.85
warningFunction · 0.85

Tested by

no test coverage detected