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

Re: git-svn added files to my commit?!

From
EWEric Wong <normalperson@yhbt.net>
Date
Aug 9, 2006, 13:16 UTC
Message-ID
<20060809131649.GA3152@localdomain>
In-Reply-To
<m2fygazbdc.fsf@gmail.com>

Sorry for the delayed response; and furthermore, I've barely slept the past few days, so don't expect full coherency.

Seth Falcon <sethfalcon@gmail.com> wrote:
> [cc'ing the list in case others are seeing similar, etc]
> 
> I think this is related to git-svn eol handling.

It is... git-svn is issuing 'svn revert' before running 'svn up' which means it's changing newlines between git commits.

I can't remember exactly why manual eol handling was needed in git-svn, but I think it had to do with disabling keyword expansion and copying from the original text-base files. Of course, the 'svn revert' command is there for a reason, too (looking at the comment in git-svn).

Perhaps getting rid of keyword killing and accepting expansions with the command-line client is the simplest and safest way to go.

I've been using the SVN:: libraries exclusively for a while now and all seems well, save for initial checkouts or big commits which are significantly slower in some cases (I think using SVN::Delta for downloads should fix this).

-- 
Eric Wong
Previous: Seth FalconNext: Eric Wong
Message 2 of 4 in “Re: git-svn added files to my commit?!”
  1. Seth FalconAug 6, 2006
  2. Eric WongAug 9, 2006
  3. git-svn: correctly kill keyword expansion without munging EOLsEric Wong, Aug 11, 2006
  4. Eric WongAug 11, 2006

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.