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

"clean" filter breaks git-svn

From
MWMatt Wozniski <godlygeek@gmail.com>
Date
Jul 30, 2010, 03:55 UTC
Message-ID
<AANLkTikp6PgHyj2ujbuD52884ny88hMyxR1CpsbNAVCJ@mail.gmail.com>

I'm playing around with smudge and clean filters, and I've discovered that they seem to completely break git-svn. When trying to fetch commits A and B from the SVN repos, it will fetch A, and then clean(A) is committed to my repository. Then when it tries to fetch B, it is horribly confused - it complains of a checksum mismatch, since the md5sums of the files in A in the SVN repos don't match up with the md5sums of the files in the clean(A) commit in git land. Is this a known problem? And, are there any work arounds other than just not using filters when using git-svn? Could git-svn be made to accept the md5sum of *either* A or clean(A) instead?

Thanks!
~Matt
PS - Please CC me if possible; I'm not subscribed
Next: Jonathan Nieder
Message 1 of 3 in “"clean" filter breaks git-svn”
  1. Matt WozniskiJul 30, 2010
  2. Jonathan NiederJul 30, 2010
  3. Junio C HamanoJul 30, 2010

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.