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

what is git's position on "classic" mac <CR>-only end of lines?

From
Robert P. J. Day <rpjday@crashcourse.ca>
Date
Oct 1, 2017, 17:52 UTC
Message-ID
<alpine.LFD.2.21.1710011349560.23227@localhost.localdomain>
  sorry for more pedantic nitpickery, but i'm trying to write a
section on how to properly process mixtures of EOLs in git, and when i
read "man git-config", everything seems to refer to Mac OS X and macOS
(and linux, of course) using <LF> for EOL, with very little mention of
what one does if faced with "classic" mac EOL of just <CR>.
  is there a description of what happens in that case? or is it
considered not important enough to deal with?
rday
-- 
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
Next: Bryan Turner
Message 1 of 4 in “what is git's position on "classic" mac <CR>-only end of lines?”
  1. Robert P. J. DayOct 1, 2017
  2. Bryan TurnerOct 1, 2017
  3. Johannes SixtOct 1, 2017
  4. Robert P. J. DayOct 1, 2017

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.