Re: Creating sparse checkout in a new linked git worktree

2018-01-31 Thread Jessie Hernandez
> On Tue, Jan 30, 2018 at 9:25 AM, Jessie Hernandez > wrote: >>> The sparse-checkout file is specific to each worktree, which allows you >> to control "sparsity" on a worktree by worktree basis. Therefore, you >> should create $GIT_DIR/worktrees//info/sparse-checkout instead >> (where is "new-bra

Re: Creating sparse checkout in a new linked git worktree

2018-01-30 Thread Eric Sunshine
On Tue, Jan 30, 2018 at 9:25 AM, Jessie Hernandez wrote: >> The sparse-checkout file is specific to each worktree, which allows you > to control "sparsity" on a worktree by worktree basis. Therefore, you > should create $GIT_DIR/worktrees//info/sparse-checkout instead > (where is "new-branch" in

Re: Creating sparse checkout in a new linked git worktree

2018-01-30 Thread Jessie Hernandez
> On Wed, Jan 24, 2018 at 11:11 AM, Jessie Hernandez > wrote: >> I am trying to get a sparse checkout in a linked worktree but cannot get >> it working. I have tried the following >> * git worktree add /some/new/path/new-branch --no-checkout >> * git config core.sparseCheckout true >> * > $GIT_DIR

Re: Creating sparse checkout in a new linked git worktree

2018-01-28 Thread Duy Nguyen
On Sun, Jan 28, 2018 at 2:25 PM, Eric Sunshine wrote: > On Wed, Jan 24, 2018 at 11:11 AM, Jessie Hernandez > wrote: >> I am trying to get a sparse checkout in a linked worktree but cannot get >> it working. I have tried the following >> >> * git worktree add /some/new/path/new-branch --no-checkou

Re: Creating sparse checkout in a new linked git worktree

2018-01-27 Thread Eric Sunshine
On Wed, Jan 24, 2018 at 11:11 AM, Jessie Hernandez wrote: > I am trying to get a sparse checkout in a linked worktree but cannot get > it working. I have tried the following > > * git worktree add /some/new/path/new-branch --no-checkout > * git config core.sparseCheckout true > * $GIT_DIR/info/sp

Creating sparse checkout in a new linked git worktree

2018-01-24 Thread Jessie Hernandez
Hi All, I am trying to get a sparse checkout in a linked worktree but cannot get it working. I have tried the following * git worktree add /some/new/path/new-branch --no-checkout * git config core.sparseCheckout true * * cd /some/new/path/new-branch * git read-tree -mu sparse-checkout But I st