untracked-cache: support sparse checkout
commit7687252f3f7def11a862a0fd118c531ee630bd05
authorDavid Turner <dturner@twopensource.com>
Fri, 31 Jul 2015 17:35:01 +0000 (31 13:35 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Jul 2015 17:56:18 +0000 (31 10:56 -0700)
tree58f6513e91b6a361257b0700ee1fe977caac59f1
parenta17c56c056d5fea0843b429132904c429a900229
untracked-cache: support sparse checkout

Remove a check that would disable the untracked cache for sparse
checkouts.  Add tests that ensure that the untracked cache works with
sparse checkouts -- specifically considering the case that a file
foo/bar is checked out, but foo/.gitignore is not.

Signed-off-by: David Turner <dturner@twopensource.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c
t/t7063-status-untracked-cache.sh