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

Function check_auto_comment_char_config

config.c:2231–2241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2229
2230#ifdef WITH_BREAKING_CHANGES
2231static void check_auto_comment_char_config(struct repository *repo,
2232 struct comment_char_config *config)
2233{
2234 if (!config->auto_set)
2235 return;
2236
2237 die_message(_("Support for '%s=auto' has been removed in Git 3.0"),
2238 comment_key_name(config->last_key_id));
2239 add_comment_char_advice(repo, config);
2240 die(NULL);
2241}
2242#else
2243static void check_auto_comment_char_config(struct repository *repo,
2244 struct comment_char_config *config)

Callers 1

check_deprecated_configFunction · 0.85

Calls 6

die_messageFunction · 0.85
comment_key_nameFunction · 0.85
add_comment_char_adviceFunction · 0.85
git_env_boolFunction · 0.85
warningFunction · 0.85
dieFunction · 0.70

Tested by

no test coverage detected