From: Yann Droneaud <ydroneaud@opteya.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: Another core.safecrlf behavor with git diff/git status
Date: Tue, 25 Jun 2013 10:52:10 +0200 [thread overview]
Message-ID: <48dfe0b092fdf977a823725ddbc91e32@meuh.org> (raw)
In-Reply-To: <7v7ghjbg8i.fsf@alter.siamese.dyndns.org>
Hi,
Le 24.06.2013 18:55, Junio C Hamano a écrit :
> Yann Droneaud <ydroneaud@opteya.com> writes:
>
>> - Why git diff does not always report the CRLF/LF mismatch ?
>
> Most likely because you are telling safecrlf not to error out but
> just warn, and then you are not fixing the cause of the warning? So
> diff would say "Ok, you must know what you are doing, so I trust
> what is in the index", perhaps?
>
>> - Why git status does not report about the CRLF/LF mismatch before
>> updating the index:
>
> My suspicion is the same as "diff".
I'm ok with theses answers regarding the test case provided first:
the warning was emitted when the files were commited.
(But still I would like git diff/git status to behave the same regarding
the "index":
emit the warning and update the index,
I suppose it's not related to core.safecrlf but inner Git way of
working).
Could you have a look at the other test case I've sent later in this
thread / the rebase problem I've sent earlier in another thread.
Regards.
--
Yann Droneaud
OPTEYA
next prev parent reply other threads:[~2013-06-25 8:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-24 16:37 Another core.safecrlf behavor with git diff/git status Yann Droneaud
2013-06-24 16:43 ` Yann Droneaud
2013-06-24 16:55 ` Junio C Hamano
2013-06-25 8:52 ` Yann Droneaud [this message]
2013-06-24 17:02 ` Yann Droneaud
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=48dfe0b092fdf977a823725ddbc91e32@meuh.org \
--to=ydroneaud@opteya.com \
--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).