On Jan 10, 6:52 pm, "Juanma Barranquero" <[EMAIL PROTECTED]> wrote:
> On Jan 10, 2008 6:32 PM, Marko Kocić <[EMAIL PROTECTED]> wrote:
>
> > No it's not. Almost all of the editors will handle LF ok. CRLF was
> > convention
> > back in the DOS days, but that's not the case anymore.
>
> Native Windows editors and tools (from notepad.exe on) will create
> CRLF text files by default. Even the Emacs port does it.

If you create new file, you are the one to choose CRLF or LF or accept
whatever
is default and put it in git repo as you want. And I agree that is ok.

Any modern editor will handle all line ending styles and keep using
the same as
the file is already using. This includes Emacs, (G)Vim, UltraEdit,
PSPad, TextPad, ...

What I don't think it is ok is that someone with full consience create
LF file,
out it in git repo, but I get different file then one created by
author.

Even notepad.exe will not automatically change line endings.

> > but the
> > only acceptable default is to not perform any conversion by default.
>
> Obviously, some people disagree.

And it is good to disagree in a civilized way ;)

>              Juanma

Regards,
Marko

Reply via email to