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

Re: [PATCH] git-svn: convert CRLF to LF in commit message to SVN

From
Todd Zullinger <tmz@pobox.com>
Date
Dec 14, 2017, 23:49 UTC
Message-ID
<20171214234943.GF3693@zaya.teonanacatl.net>
In-Reply-To
<BL2PR05MB217980546899C5B8EFDE06FF850A0@BL2PR05MB2179.namprd05.prod.outlook.com>
Hi Brian,
Bennett, Brian wrote:
Show 5 quoted lines
> Thank you for your fast response,
> 
> I haven't done a build of this type before (so I could
> test the patch first) so I'm trying to do that and get
> this far:
...
Show 5 quoted lines
> I don't want to drag out testing the patch, so if either
> of you are able to quickly guide me on what I am doing
> incorrectly I am willing to get the build done so I can
> test it. If not, could one of you build with the patch and
> somehow get that to me so I could test?

I don't know about building git for windows, but since the git-svn command is a perl script, it might be easier to just patch that file. I think you can find the path where git-svn is installed using: git --exec-path

For this one-liner, I'd just manually apply it.

(If you want to use 'git apply' or the patch command, you'll have to edit the patch to adjust the name of the file, as it's git-svn.perl in the git tree. The .perl suffix is dropped in the installed version.)

Hopefully that makes it easier for you to test Eric's patch.
-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am in shape.  Round is a shape.
Previous: Bennett, BrianNext: Bennett, Brian
Message 4 of 6 in “git svn dcommit error: Cannot accept non-LF line endings in 'svn:log' property”
  1. Bennett, BrianDec 12, 2017
  2. git-svn: convert CRLF to LF in commit message to SVNEric Wong, Dec 14, 2017
  3. Bennett, BrianDec 14, 2017
  4. Todd ZullingerDec 14, 2017
  5. Bennett, BrianDec 15, 2017
  6. Junio C HamanoDec 15, 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.