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

Function trailer_config_init

trailer.c:592–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592void trailer_config_init(void)
593{
594 if (configured)
595 return;
596
597 /* Default config must be setup first */
598 default_conf_info.where = WHERE_END;
599 default_conf_info.if_exists = EXISTS_ADD_IF_DIFFERENT_NEIGHBOR;
600 default_conf_info.if_missing = MISSING_ADD;
601 repo_config(the_repository, git_trailer_default_config, NULL);
602 repo_config(the_repository, git_trailer_config, NULL);
603 configured = 1;
604}
605
606static const char *token_from_item(struct arg_item *item, char *tok)
607{

Callers 6

read_trailersFunction · 0.85
validate_trailer_argsFunction · 0.85
trailer_block_getFunction · 0.85
cmd_tagFunction · 0.85
interpret_trailersFunction · 0.85
cmd_commitFunction · 0.85

Calls 1

repo_configFunction · 0.70

Tested by

no test coverage detected