Re: Another core.safecrlf behavor with git diff/git status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Le 24.06.2013 18:55, Junio C Hamano a écrit :
Yann Droneaud <ydroneaud@xxxxxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]