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

Function repo_config_set_multivar

config.c:3286–3294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3284}
3285
3286void repo_config_set_multivar(struct repository *r,
3287 const char *key, const char *value,
3288 const char *value_pattern, unsigned flags)
3289{
3290 char *file = repo_git_path(r, "config");
3291 repo_config_set_multivar_in_file(r, file, key, value,
3292 value_pattern, flags);
3293 free(file);
3294}
3295
3296static size_t section_name_match (const char *buf, const char *name)
3297{

Callers 7

repo_config_setFunction · 0.85
write_refspec_configFunction · 0.85
add_branchFunction · 0.85
migrate_fileFunction · 0.85
mvFunction · 0.85
set_urlFunction · 0.85
cmd_branchFunction · 0.85

Calls 2

repo_git_pathFunction · 0.85

Tested by

no test coverage detected