Hi all,

I'm trying to exclude a new subdirectory that was added by someone else.

in my $GITDIR/info/sparse-checkout file, I have:


Now, I want to exclude the /web/tests/ subdirectory. So I changed my file 


but this does not work. After calling

    git read-tree -m -u HEAD

the subdirectory /web/tests is still present. If I change to:


the /web/tests subdirectory does disappear, but this may exclude possible 
'tests' directory under any other subdirectories that I may want to keep.

Is it possible to do what I want?




Reply via email to