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

Function git_default_attr_config

environment.c:645–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645static int git_default_attr_config(const char *var, const char *value)
646{
647 if (!strcmp(var, "attr.tree")) {
648 FREE_AND_NULL(git_attr_tree);
649 return git_config_string(&git_attr_tree, var, value);
650 }
651
652 /*
653 * Add other attribute related config variables here and to
654 * Documentation/config/attr.adoc.
655 */
656 return 0;
657}
658
659int git_default_config(const char *var, const char *value,
660 const struct config_context *ctx, void *cb)

Callers 1

git_default_configFunction · 0.85

Calls 1

git_config_stringFunction · 0.85

Tested by

no test coverage detected