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:

    /web/

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

    /web/
    !/web/tests/

but this does not work. After calling

    git read-tree -m -u HEAD

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

    /web/
    !tests

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?

Thanks.

H.

-- 


Reply via email to