X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=config.c;h=f4f2c59a34cd9fc70db940871caaf00b94a6ef2e;hb=d08bae7e221727e26baab984b792854b842130d7;hp=37385ce9d338ecbd2556cef9455000784ebab7e5;hpb=0a8a38433d7631ea3e2152f890cf92c9b0968948;p=git.git diff --git a/config.c b/config.c index 37385ce9d..f4f2c59a3 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; }