# sparse checkout using exclusions

3 messages from 2011-10-29 to 2011-10-31. Participants: Eric Raible, Ramkumar Ramachandra.
Thread: https://gitlist.dev/t/28793

## Eric Raible, 2011-10-29 00:17

Subject: sparse checkout using exclusions
Message-ID: <4EAB4632.5080101@nextest.com>
URL: https://gitlist.dev/e/4EAB4632.5080101%40nextest.com

```
Hi all.

I was just about to send a long message about using exclusions
in sparse-checkout, when I did one last search and saw that all
of my problems were fixed by using '/*' instead of '*' as the
first line in .git/info/sparse-checkout.

Might it make sense for the example in git-read-tree.html to be
updated to include the leading slash?

    /*
    !unwanted

- Eric

```

## Ramkumar Ramachandra, 2011-10-29 05:46

Subject: Re: sparse checkout using exclusions
Message-ID: <CALkWK0=X4O9jBbx_ZDXbtnDCmTb9fHbm13Z-pqTNBooA0Z=c0g@mail.gmail.com>
URL: https://gitlist.dev/e/CALkWK0%3DX4O9jBbx_ZDXbtnDCmTb9fHbm13Z-pqTNBooA0Z%3Dc0g%40mail.gmail.com
In-Reply-To: <4EAB4632.5080101@nextest.com>

```
Hi Eric,

Eric Raible writes:
> Might it make sense for the example in git-read-tree.html to be
> updated to include the leading slash?

This issue was fixed in 5e821231 (git-read-tree.txt: update sparse
checkout examples, 2011-09-26).

Cheers.

-- Ram

```

## Eric Raible, 2011-10-31 20:16

Subject: Re: sparse checkout using exclusions
Message-ID: <4EAF020D.9090305@nextest.com>
URL: https://gitlist.dev/e/4EAF020D.9090305%40nextest.com
In-Reply-To: <CALkWK0=X4O9jBbx_ZDXbtnDCmTb9fHbm13Z-pqTNBooA0Z=c0g@mail.gmail.com>

```
On 10/28/2011 10:46 PM, Ramkumar Ramachandra wrote:
> 
> This issue was fixed in 5e821231 (git-read-tree.txt: update sparse
> checkout examples, 2011-09-26).
> 
> Cheers.
> 
> -- Ram

git tag -l --contains => v1.7.8-rc0

I'm running 1.7.7.1.msysgit.0, so I don't have it yet.
And neither do any of the online man pages I could find.

But I'm happy that it's fixed.  And the commit message is
better than what I would have come up with.

Thanks - Eric

```
