From: Jean-Luc Herren <jlh@gmx.ch>
To: Junio C Hamano <gitster@pobox.com>, Git List <git@vger.kernel.org>
Subject: Re: Problem with CRLF line endings and colored diff
Date: Wed, 15 Oct 2008 01:08:17 +0200 [thread overview]
Message-ID: <48F52661.4010800@gmx.ch> (raw)
In-Reply-To: <7v4p3e7r9e.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
> Jean-Luc Herren <jlh@gmx.ch> writes:
>> <GREEN FOREGROUND>+<RESET><GREEN FOREGROUND>
>> line2<RESET><RED BACKGROUND><CR><RESET><LF>
>
> This is expected and deliberate, as you haven't told about your desire to
> consider carriage-returns not as line termination letter. By default CR
> is just one of the whitespace letters, and colored diff output is
> reminding you that you introduced a line with a trailing whitespace.
Ah, I see, I didn't know I have to tell it that I want to use
CRLF... Works fine now. Sorry for the noise.
jlh
prev parent reply other threads:[~2008-10-14 23:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-14 21:13 Problem with CRLF line endings and colored diff Jean-Luc Herren
2008-10-14 22:20 ` Junio C Hamano
2008-10-14 23:08 ` Jean-Luc Herren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48F52661.4010800@gmx.ch \
--to=jlh@gmx.ch \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).