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

Function git_ident_config

ident.c:677–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

675}
676
677int 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
689static void set_env_if(const char *key, const char *value, int *given, int bit)
690{

Callers 1

git_default_configFunction · 0.85

Calls 2

git_config_boolFunction · 0.85
set_identFunction · 0.85

Tested by

no test coverage detected