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

Re: Re: Git for Windows and line endings

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 19, 2012, 17:22 UTC
Message-ID
<7vlif2js1r.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CADKp0pxuFsSEeZoeemyaqhSJEcsjj1arEOsF4Ub8=76y7tkwHg@mail.gmail.com>
Chris B <chris.blaszczynski@gmail.com> writes:
> - If there was SO MUCH thought into this, then it was too much...

I do not have much to add to what area experts already said on bits specific to Git for Windows, but on just this part:

> - Our builds were not breaking, it was production due to deployment
> model utilizing Git. What if there was a process to extract from Git
> and then distribute?

Do you mean something like "git archive"? Or do you have something else in mind?

> - Developers are not expecting revision control system to make changes
> to files they commit.

But isn't there a distinction between the logical content and its physical representation? In source code (that is what developers use a source code management system for), especially those of cross-platform projects, the logical lines end with LF and physical lines end with whatever is convenient on the platform of each participant of the project. There needs a way to convert between the two.

It does not sound fair to call it a crime if the port to a platform, whose users (at least the majority of them) expect the latter to be CRLF, chose to default to that to help the majority, as long as there are ways for the minority power users to choose to use LF in the physical representation on their working trees.

-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en
Previous: Chris BNext: Jeff King
Message 5 of 8 in “Git for Windows and line endings”
  1. Chris BOct 18, 2012
  2. Erik Faye-LundOct 18, 2012
  3. Johannes SchindelinOct 19, 2012
  4. Chris BOct 19, 2012
  5. Junio C HamanoOct 19, 2012
  6. Jeff KingOct 19, 2012
  7. John SzakmeisterOct 19, 2012
  8. Raja R HarinathNov 4, 2012

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.