Re: [PATCH v3 04/17] sparse-checkout: 'set' subcommand

2019-10-11 Thread Elijah Newren
On Fri, Oct 11, 2019 at 3:26 PM Elijah Newren wrote: > > On Mon, Oct 7, 2019 at 1:08 PM Derrick Stolee via GitGitGadget > Looks good, thanks for the fixes. I'm still slightly worried about > folks not looking at the docs and calling sparse-checkout set without > calling init, and then being nega

Re: [PATCH v3 04/17] sparse-checkout: 'set' subcommand

2019-10-11 Thread Elijah Newren
On Mon, Oct 7, 2019 at 1:08 PM Derrick Stolee via GitGitGadget wrote: > > From: Derrick Stolee > > The 'git sparse-checkout set' subcommand takes a list of patterns > as arguments and writes them to the sparse-checkout file. Then, it > updates the working directory using 'git read-tree -mu HEAD'.

[PATCH v3 04/17] sparse-checkout: 'set' subcommand

2019-10-07 Thread Derrick Stolee via GitGitGadget
From: Derrick Stolee The 'git sparse-checkout set' subcommand takes a list of patterns as arguments and writes them to the sparse-checkout file. Then, it updates the working directory using 'git read-tree -mu HEAD'. The 'set' subcommand will replace the entire contents of the sparse-checkout fil