Re: [PATCH 1/1] chainlint: fix for core.autocrlf=true
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 15, 2018, 16:31 UTC
- Message-ID
- <xmqqmutnk2vv.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <d0d1d49d6f3e741e9c048041a2f467742bce4bdc.1534343621.git.gitgitgadget@gmail.com>
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 11 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de> > > The `chainlint` target compares actual output to expected output, where > the actual output is generated from files that are specifically checked > out with LF-only line endings. So the expected output needs to be > checked out with LF-only line endings, too. > > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> > --- > t/.gitattributes | 1 + > 1 file changed, 1 insertion(+)
Good spotting. A help like this from those on different platforms than what the original author uses is the ideal model of how we collaborate together.
Will queue.
Show 11 quoted lines
> > diff --git a/t/.gitattributes b/t/.gitattributes > index 3bd959ae5..9d09df5a6 100644 > --- a/t/.gitattributes > +++ b/t/.gitattributes > @@ -1,4 +1,5 @@ > t[0-9][0-9][0-9][0-9]/* -whitespace > +/chainlint/*.expect eol=lf > /diff-lib/* eol=lf > /t0110/url-* binary > /t3900/*.txt eol=lf