| 560 | } |
| 561 | |
| 562 | static int git_default_i18n_config(const char *var, const char *value) |
| 563 | { |
| 564 | if (!strcmp(var, "i18n.commitencoding")) { |
| 565 | FREE_AND_NULL(git_commit_encoding); |
| 566 | return git_config_string(&git_commit_encoding, var, value); |
| 567 | } |
| 568 | |
| 569 | if (!strcmp(var, "i18n.logoutputencoding")) { |
| 570 | FREE_AND_NULL(git_log_output_encoding); |
| 571 | return git_config_string(&git_log_output_encoding, var, value); |
| 572 | } |
| 573 | |
| 574 | /* Add other config variables here and to Documentation/config.adoc. */ |
| 575 | return 0; |
| 576 | } |
| 577 | |
| 578 | static int git_default_branch_config(const char *var, const char *value) |
| 579 | { |
no test coverage detected