X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=config.c;h=6963fbea43e6420f5f8dafc5b94fb5c27de6ffd2;hb=64abcc48447a976884e74a1efd866a21e06ddeec;hp=fa1a0c02998feed88bad3c2358f54a14c765ce0c;hpb=91c38a21089c4b30d35f392386c752a017ac6db0;p=git.git diff --git a/config.c b/config.c index fa1a0c029..6963fbea4 100644 --- a/config.c +++ b/config.c @@ -518,6 +518,11 @@ static int git_default_core_config(const char *var, const char *value) return 0; } + if (!strcmp(var, "core.sparsecheckout")) { + core_apply_sparse_checkout = git_config_bool(var, value); + return 0; + } + /* Add other config variables here and to Documentation/config.txt. */ return 0; }