Re: Git EOL Normalization
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 26, 2011, 16:07 UTC
- Message-ID
- <7v1uzlzbra.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <m3y61uxan2.fsf@localhost.localdomain>
Jakub Narebski <jnareb@gmail.com> writes:
> I think git examines only first block of a file or so. The heuristic > to detect binary-ness of a file is, as I have heard, the same or > similar to the one that GNU diff uses.
Yes, the binary detection was designed to be compatible with GNU diff. But I do not think it has much to do with the topic of this thread. Aren't other people discussing the line ending?