git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: crlf with git-svn driving me nuts...

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Apr 17, 2008, 22:42 UTC
Message-ID
<20080417224217.GQ3133@dpotapov.dyndns.org>
In-Reply-To
<320075ff0804171503g6dc04aa5pb7c9c362e31ce942@mail.gmail.com>
On Thu, Apr 17, 2008 at 11:03:10PM +0100, Nigel Magnay wrote:
Show 8 quoted lines
> 
> Well.... Newline = LF vs CRLF (vs CR for early mac.. erk) dates to
> well before C and UNIX; back into the days of baudot codes and
> teletype printers that couldn't physically newline in the time taken
> for 1 character to be processed; LF is meant to mean Line Feed and CR
> is meant to mean "Carriage Return", so CRLF is in that sense quite
> logical. But that's standards committees and backwards compatibility
> for you :-/

CRLF is logical from the point of you of teletype printers, but when we speak about text files then it is more logical to consider them as a list of lines. What particular symbol is used as line-separator does not really matter, but IMHO it is stupid to have two symbols for that. So, LF vs CR is matter of preferences, but CRLF is just stupid -;)

Dmitry
Previous: Nigel MagnayNext: Steffen Prohaska
Message 18 of 19 in “crlf with git-svn driving me nuts...”
  1. Nigel MagnayApr 16, 2008
  2. Dmitry PotapovApr 16, 2008
  3. Avery PennarunApr 16, 2008
  4. Dmitry PotapovApr 16, 2008
  5. Nigel MagnayApr 16, 2008
  6. Martin LanghoffApr 16, 2008
  7. Avery PennarunApr 16, 2008
  8. Dmitry PotapovApr 16, 2008
  9. Avery PennarunApr 16, 2008
  10. Nigel MagnayApr 16, 2008
  11. Dmitry PotapovApr 17, 2008
  12. Avery PennarunApr 17, 2008
  13. Nigel MagnayApr 17, 2008
  14. Dmitry PotapovApr 17, 2008
  15. Nigel MagnayApr 17, 2008
  16. Dmitry PotapovApr 17, 2008
  17. Nigel MagnayApr 17, 2008
  18. Dmitry PotapovApr 17, 2008
  19. Steffen ProhaskaApr 17, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.