threads / discuss / 23390

Re: question about sparse checkout

Subject: Re: question about sparse checkout

## tl;dr

One message between Apr 9, 2010 and Apr 9, 2010.

replies: 0people: 1as markdown or json

Nguyen Thai Ngoc Duy· Apr 9, 2010, 11:13 UTC · lore
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

← back to recent threads