Re: bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-19 Thread Duy Nguyen
On Thu, Mar 17, 2016 at 8:04 PM, Johannes Schindelin wrote: > Hi Duy, > > On Thu, 17 Mar 2016, Duy Nguyen wrote: > >> Good news for you is there's "sparse checkout v2" in the work, that >> would not rely on exclude engine and should be both faster and more >> elegant. That should reduce "sparse ch

Re: bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-19 Thread Johannes Schindelin
Hi Duy, On Thu, 17 Mar 2016, Duy Nguyen wrote: > Good news for you is there's "sparse checkout v2" in the work, that > would not rely on exclude engine and should be both faster and more > elegant. That should reduce "sparse checkout v1" usage to really small > cases. I dabbled myself with speed

Re: bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-19 Thread Duy Nguyen
On Wed, Mar 16, 2016 at 05:09:23PM -0700, Durham Goode wrote: > Using git 2.8.0-rc2, given a repo with the following files: > > - one/hideme > - one/donthide > - two/foo > > A sparse config of: > > cat > .git/info/sparse-checkout < /* > !one/hideme > EOF > > Results in a repository that only ha

bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-19 Thread Durham Goode
Using git 2.8.0-rc2, given a repo with the following files: - one/hideme - one/donthide - two/foo A sparse config of: cat > .git/info/sparse-checkout

Re: bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-19 Thread Junio C Hamano
Durham Goode writes: > Using git 2.8.0-rc2, given a repo with the following files: > > - one/hideme > - one/donthide > - two/foo > > A sparse config of: > > cat > .git/info/sparse-checkout < /* > !one/hideme > EOF > > Results in a repository that only has `one/donthide` in it. I would > expect `

Re: bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-19 Thread Durham Goode
On 3/17/16 12:22 AM, Junio C Hamano wrote: Durham Goode writes: Using git 2.8.0-rc2, given a repo with the following files: - one/hideme - one/donthide - two/foo A sparse config of: cat > .git/info/sparse-checkout < 2.6 is a tad too old as a reference, as the "!reinclusion" has been in flux

Re: bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-19 Thread Duy Nguyen
On Thu, Mar 17, 2016 at 2:51 PM, Junio C Hamano wrote: > Duy Nguyen writes: > >> On Wed, Mar 16, 2016 at 05:09:23PM -0700, Durham Goode wrote: >>> Using git 2.8.0-rc2, given a repo with the following files: >>> >>> - one/hideme >>> - one/donthide >>> - two/foo >>> >>> A sparse config of: >>> >>>

Re: bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-19 Thread Johannes Schindelin
Hi Duy, On Thu, 17 Mar 2016, Duy Nguyen wrote: > On Thu, Mar 17, 2016 at 8:04 PM, Johannes Schindelin > wrote: > > > > On Thu, 17 Mar 2016, Duy Nguyen wrote: > > > >> Good news for you is there's "sparse checkout v2" in the work, that > >> would not rely on exclude engine and should be both fast

Re: bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-19 Thread Junio C Hamano
Duy Nguyen writes: > On Wed, Mar 16, 2016 at 05:09:23PM -0700, Durham Goode wrote: >> Using git 2.8.0-rc2, given a repo with the following files: >> >> - one/hideme >> - one/donthide >> - two/foo >> >> A sparse config of: >> >> cat > .git/info/sparse-checkout <> /* >> !one/hideme >> EOF >> >>

Re: bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-19 Thread Durham Goode
On 3/16/16 5:56 PM, Duy Nguyen wrote: On Wed, Mar 16, 2016 at 05:09:23PM -0700, Durham Goode wrote: Using git 2.8.0-rc2, given a repo with the following files: - one/hideme - one/donthide - two/foo A sparse config of: cat > .git/info/sparse-checkout < Thank you. This should fix it. I think I

Re: bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-18 Thread Duy Nguyen
On Thu, Mar 17, 2016 at 8:46 PM, Johannes Schindelin wrote: > Unfortunately, this does not help me at all. In the use case I am trying > to get to work fast, we have tons and tons of directories and need *one* > file in pretty much *all* of those directories, and exclude most of the > other files.

Re: bug: sparse config interpretation incorrectness in 2.8.0-rc2

2016-03-18 Thread Johannes Schindelin
Hi Duy, On Thu, 17 Mar 2016, Duy Nguyen wrote: > On Thu, Mar 17, 2016 at 8:46 PM, Johannes Schindelin > wrote: > > Unfortunately, this does not help me at all. In the use case I am trying > > to get to work fast, we have tons and tons of directories and need *one* > > file in pretty much *all* o