From: Junio C Hamano Date: Tue, 01 Nov 2016 19:15:56 GMT Subject: Re: [PATCH v1 11/19] t1700: add tests for splitIndex.maxPercentChange Message-ID: In-Reply-To: <20161023092648.12086-12-chriscool@tuxfamily.org> Christian Couder writes: > Signed-off-by: Christian Couder > --- > t/t1700-split-index.sh | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 72 insertions(+) > > diff --git a/t/t1700-split-index.sh b/t/t1700-split-index.sh > index 507a1dd..f03addf 100755 > --- a/t/t1700-split-index.sh > +++ b/t/t1700-split-index.sh > @@ -238,4 +238,76 @@ EOF > test_cmp expect actual > ' > > +test_expect_success 'set core.splitIndex config variable to true' ' > + git config core.splitIndex true && > + : >three && > + git update-index --add three && > + BASE=$(test-dump-split-index .git/index | grep "^base") && > + test-dump-split-index .git/index | sed "/^own/d" >actual && > + cat >expect < +$BASE > +replacements: > +deletions: > +EOF Using <<-EOF lets us indent the above four lines with a horizontal tab to align with the remainder of this test_expect_success block, so let's do that.