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

Function repo_config_callback

config.c:2277–2284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2275}
2276
2277static int repo_config_callback(const char *key, const char *value,
2278 const struct config_context *ctx, void *data)
2279{
2280 struct repo_config *config = data;
2281
2282 comment_char_callback(key, value, ctx, &config->comment_char_config);
2283 return config_set_callback(key, value, ctx, config->repo->config);
2284}
2285
2286/* Functions use to read configuration from a repository */
2287static void repo_read_config(struct repository *repo)

Callers

nothing calls this directly

Calls 2

comment_char_callbackFunction · 0.85
config_set_callbackFunction · 0.85

Tested by

no test coverage detected