Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
unpack-trees(): "enable" sparse checkout and load $GIT_DIR/info/sparse-checkout
[gitweb.git]
/
config.c
diff --git
a/config.c
b/config.c
index e87edeab0c6b9579ecbd9bc5a9a11c3522d21ccf..abd762ebfaaa6c82d691cd478d3c088a732d499a 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-503,6
+503,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;
}