unpack-trees(): "enable" sparse checkout and load $GIT_DIR/info/sparse-checkout
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 20 Aug 2009 13:47:08 +0000 (20:47 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Aug 2009 00:14:41 +0000 (17:14 -0700)
commit08aefc9e47eb2eaf231352223c939d69b0fb3759
tree3975ee3df946e6f1d1e360ffd7204faba53bb826
parent35a5aa79d040e2121b6f6bbb17b173f4644699e3
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>
Documentation/config.txt
Documentation/git-read-tree.txt
cache.h
config.c
environment.c
unpack-trees.c
unpack-trees.h