| 590 | } |
| 591 | |
| 592 | void 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 | |
| 606 | static const char *token_from_item(struct arg_item *item, char *tok) |
| 607 | { |
no test coverage detected