diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-08-20 20:47:08 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-08-23 17:14:41 -0700 |
commit | 08aefc9e47eb2eaf231352223c939d69b0fb3759 (patch) | |
tree | 3975ee3df946e6f1d1e360ffd7204faba53bb826 /cache.h | |
parent | 35a5aa79d040e2121b6f6bbb17b173f4644699e3 (diff) | |
download | git-08aefc9e47eb2eaf231352223c939d69b0fb3759.tar.gz git-08aefc9e47eb2eaf231352223c939d69b0fb3759.tar.xz |
unpack-trees(): "enable" sparse checkout and load $GIT_DIR/info/sparse-checkout
This patch introduces core.sparseCheckout, which will control whether
sparse checkout support is enabled in unpack_trees()
It also loads sparse-checkout file that will be used in the next patch.
I split it out so the next patch will be shorter, easier to read.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -526,6 +526,7 @@ extern size_t delta_base_cache_limit; extern int auto_crlf; extern int fsync_object_files; extern int core_preload_index; +extern int core_apply_sparse_checkout; enum safe_crlf { SAFE_CRLF_FALSE = 0, |