Re: CRLF problems with Git on Win32

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Linus Torvalds <torvalds@...>, J. Bruce Fields <bfields@...>, Steffen Prohaska <prohaska@...>, Robin Rosenberg <robin.rosenberg.lists@...>, Jeff King <peff@...>, Peter Karlsson <peter@...>, Git Mailing List <git@...>, msysGit <msysgit@...>
Date: Wednesday, January 9, 2008 - 6:48 am

Hi,

On Wed, 9 Jan 2008, Junio C Hamano wrote:


IMHO this is really not good.  Better do it in the global /etc/gitconfig 
we install _anyway_ (it says core.symlinks=false).


The problem is that MinGW behaves sanely, i.e. it does not output CRLF but 
only LF.

Besides, as I stated several times already, there _are_ projects on 
Windows where you do _not_ want crlf=true:

- Windows is already slow.  So slow that it is not even funny.  Granted, 
  if you use Windows daily, git on MinGW seems snappy, but if you come 
  from Linux, it is slow as hell.

  And CRLF conversion does not help that impression at all.

- Some tools ported to Windows from Unix do not like CRs.

- For git itself, I prefer to work without CRLF just because I do not need 
  it.

But maybe I am the minority here, and we really should default to 
crlf=true on Windows, and provide a way to unset that.

My preference would be to have Peff's -c switch to clone, but 
_additionally_ a way to force a full re-checkout of files (for example 
after "git config core.crlf false").

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: CRLF problems with Git on Win32, Junio C Hamano, (Wed Jan 9, 4:03 am)
Re: CRLF problems with Git on Win32, Johannes Schindelin, (Wed Jan 9, 6:48 am)
Re: CRLF problems with Git on Win32, Peter Karlsson, (Thu Jan 10, 5:25 am)
Re: CRLF problems with Git on Win32, Johannes Schindelin, (Thu Jan 10, 7:57 am)
Re: CRLF problems with Git on Win32, Miles Bader, (Thu Jan 10, 11:03 pm)
Re: CRLF problems with Git on Win32, Peter Karlsson, (Thu Jan 10, 9:28 am)
Re: CRLF problems with Git on Win32, Peter Harris, (Thu Jan 10, 10:31 am)
Re: CRLF problems with Git on Win32, Peter Karlsson, (Fri Jan 11, 9:12 am)
Re: CRLF problems with Git on Win32, Peter Harris, (Fri Jan 11, 11:39 am)