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

Re: git-svn bridge and line endings

From
Lucian Smith <lucianoelsmitho@gmail.com>
Date
Aug 23, 2016, 17:31 UTC
Message-ID
<CAHLmBr3+3WccbYTm1v2_jd+hR6rygJQfPtH6+MMP-xPLjEy72w@mail.gmail.com>
In-Reply-To
<xmqqh9abwg4j.fsf@gitster.mtv.corp.google.com>

Windows doesn't have any problem reading files with any form of crlf. The main issue we have run into thus far is that if I create a new file in Windows, it's going to have crlf, and if I check it in that way through this svn process, the file is then stored with crlfs, which git does not expect. A wide variety of problems results.

-Lucian
On Tue, Aug 23, 2016 at 10:26 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> Lucian Smith <lucianoelsmitho@gmail.com> writes:
>
>> The setup is that we have a git repository on github, and I've checked
>> out a branch on my Windows machine using Tortoise svn.  I make
>> changes, commit them, and the branch is updated.  In general, this
>> works fine.
>
> Hmph, doesn't Windows port ship with core.autocrlf these days?
Previous: Junio C Hamano
Message 12 of 12 in “Re: git-svn bridge and line endings”
  1. Lucian SmithAug 23, 2016
  2. Eric WongAug 23, 2016
  3. Alfred PerlsteinAug 23, 2016
  4. Eric WongAug 23, 2016
  5. Lucian SmithAug 23, 2016
  6. Julian PhillipsAug 23, 2016
  7. Lucian SmithAug 23, 2016
  8. Torsten BögershausenAug 23, 2016
  9. Torsten BögershausenAug 23, 2016
  10. Lucian SmithAug 23, 2016
  11. Junio C HamanoAug 23, 2016
  12. Lucian SmithAug 23, 2016

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.