Re: [PATCH 1/3] rebase -i: highlight problems with core.commentchar
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 22, 2016, 16:09 UTC
- Message-ID
- <alpine.DEB.2.20.1611221709180.3746@virtualbox>
- In-Reply-To
- <20161121190514.18574-1-gitster@pobox.com>
Hi Junio,
On Mon, 21 Nov 2016, Junio C Hamano wrote:
Show 12 quoted lines
> diff --git a/t/t0030-stripspace.sh b/t/t0030-stripspace.sh > index 29e91d861c..c1f6411eb2 100755 > --- a/t/t0030-stripspace.sh > +++ b/t/t0030-stripspace.sh > @@ -432,6 +432,15 @@ test_expect_success '-c with changed comment char' ' > test_cmp expect actual > ' > > +test_expect_failure '-c with comment char defined in .git/config' ' > + test_config core.commentchar = && > + printf "= foo\n" >expect && > + printf "foo" | (
Could I ask you to sneak in a \n here?
Thanks, Dscho