Code

t1011: fix sparse-checkout initialization and add new file
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 2 May 2011 12:47:43 +0000 (19:47 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 May 2011 16:03:13 +0000 (09:03 -0700)
commitd61ebbe8f57107afe1b04005be420117d3806675
tree0db6276f9f9352f0a5a13cde8e2f5aec551e1a44
parent4e3aa87d13b339fa678cd3cb7f23664d3a48fb21
t1011: fix sparse-checkout initialization and add new file

Do not append to $GIT_DIR/info/sparse-checkout at each test, overwrite
it instead.

Also add sub/addedtoo for more complex tests later on

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1011-read-tree-sparse-checkout.sh