Re: [PATCH v2 1/5] split-index: add tests to demonstrate the racy split index problem

2018-09-28 Thread Junio C Hamano
SZEDER Gábor writes: > Junio, > > On Thu, Sep 27, 2018 at 02:44:30PM +0200, SZEDER Gábor wrote: >> diff --git a/t/t1701-racy-split-index.sh b/t/t1701-racy-split-index.sh >> new file mode 100755 >> index 00..ebde418d7e >> --- /dev/null >> +++ b/t/t1701-racy-split-index.sh >> @@ -0,0 +1,218

Re: [PATCH v2 1/5] split-index: add tests to demonstrate the racy split index problem

2018-09-27 Thread SZEDER Gábor
On Fri, Sep 28, 2018 at 02:48:43AM +0200, SZEDER Gábor wrote: > Junio, > > On Thu, Sep 27, 2018 at 02:44:30PM +0200, SZEDER Gábor wrote: > > diff --git a/t/t1701-racy-split-index.sh b/t/t1701-racy-split-index.sh > > new file mode 100755 > > index 00..ebde418d7e > > --- /dev/null > > +++ b/

Re: [PATCH v2 1/5] split-index: add tests to demonstrate the racy split index problem

2018-09-27 Thread SZEDER Gábor
Junio, On Thu, Sep 27, 2018 at 02:44:30PM +0200, SZEDER Gábor wrote: > diff --git a/t/t1701-racy-split-index.sh b/t/t1701-racy-split-index.sh > new file mode 100755 > index 00..ebde418d7e > --- /dev/null > +++ b/t/t1701-racy-split-index.sh > @@ -0,0 +1,218 @@ > +#!/bin/sh > + > +# This tes

[PATCH v2 1/5] split-index: add tests to demonstrate the racy split index problem

2018-09-27 Thread SZEDER Gábor
Ever since the split index feature was introduced [1], refreshing a split index is prone to a variant of the classic racy git problem. There are a couple of unrelated tests in the test suite that occasionally fail when run with 'GIT_TEST_SPLIT_INDEX=yes', but 't1700-split-index.sh', the only test s