# Re: question about sparse checkout

1 messages from 2010-04-09 to 2010-04-09. Participants: Nguyen Thai Ngoc Duy.
Thread: https://gitlist.dev/t/23390

## Nguyen Thai Ngoc Duy, 2010-04-09 11:13

Subject: Re: question about sparse checkout
Message-ID: <j2hfcaeb9bf1004090413ud934f42ch633b04e4b282b3f@mail.gmail.com>
URL: https://gitlist.dev/e/j2hfcaeb9bf1004090413ud934f42ch633b04e4b282b3f%40mail.gmail.com
In-Reply-To: <i2t8ba6bed41004090318k265095e9i72c9c1e79b3bfcd7@mail.gmail.com>

```
On Fri, Apr 9, 2010 at 12:18 PM, Matt Rice <ratmice@gmail.com> wrote:
> hi,
>
> is there some way that cloning a sparse checkout can also clone the
> sparsity of the checkout?

No. The sparsity is a property of worktree, it can't be cloned.

> currently, when cloning, I have to set up the sparsity on each cloned
> repository, after fetching
> by providing something like a shell script for each 'view' of the repository
> just wondering if there was a way to make this a transferrable property.

I have a similar problem (transferring remote.* by cloning). Maybe we
could extend git protocol a little bit to allow these customizations?
-- 
Duy

```
