Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
revision: --ancestry-path
[gitweb.git]
/
config.c
diff --git
a/config.c
b/config.c
index fa1a0c02998feed88bad3c2358f54a14c765ce0c..6963fbea43e6420f5f8dafc5b94fb5c27de6ffd2 100644
(file)
--- 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;
}