| 675 | } |
| 676 | |
| 677 | int git_ident_config(const char *var, const char *value, |
| 678 | const struct config_context *ctx UNUSED, |
| 679 | void *data UNUSED) |
| 680 | { |
| 681 | if (!strcmp(var, "user.useconfigonly")) { |
| 682 | ident_use_config_only = git_config_bool(var, value); |
| 683 | return 0; |
| 684 | } |
| 685 | |
| 686 | return set_ident(var, value); |
| 687 | } |
| 688 | |
| 689 | static void set_env_if(const char *key, const char *value, int *given, int bit) |
| 690 | { |
no test coverage detected