MCPcopy Index your code
hub / github.com/git/git / git_default_sparse_config

Function git_default_sparse_config

environment.c:549–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549static int git_default_sparse_config(const char *var, const char *value)
550{
551 struct repo_config_values *cfg = repo_config_values(the_repository);
552
553 if (!strcmp(var, "sparse.expectfilesoutsideofpatterns")) {
554 cfg->sparse_expect_files_outside_of_patterns = git_config_bool(var, value);
555 return 0;
556 }
557
558 /* Add other config variables here and to Documentation/config/sparse.adoc. */
559 return 0;
560}
561
562static int git_default_i18n_config(const char *var, const char *value)
563{

Callers 1

git_default_configFunction · 0.85

Calls 2

git_config_boolFunction · 0.85
repo_config_valuesClass · 0.70

Tested by

no test coverage detected