Re: CRLF problems with Git on Win32
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 11, 2008, 00:32 UTC
- Message-ID
- <7vir215hj0.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.LFD.1.00.0801101556380.3148@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
> (Side note: if there are known filetype extensions that have problems with > the git guessing, we sure as heck could take the filename into account > when guessing! There's absolutely nothing that says that we only have to > look at the contents when guessing about the text/binary thing!)
You do not have to yell.
Instead, just give yourself a pat in the back for having a brilliant foresight to give "path" parameter when you did 6c510bee2013022fbce52f4b0ec0cc593fc0cc48 (Lazy man's auto-CRLF) to convert_to_git() function, even though the code originally did not use it back then ;-).