I know this is old, but perhaps it will be useful for future reference, since all the search results on this do not help.
I ran into a similar problem in our huge repository, which took several days to clone, and, unfortunately, at some point I had to restart my machine. I am currently developing how to solve the problem, so please keep in mind that this is a suggestion rather than a tested solution.
I think you need to try creating a branch and checking the commits that you have in the previous selection:
git checkout -b master git-svn
After that, you should have a working tree before this commit. Other samples are most likely to fail due to object mismatch, but at this point, at least, it should be possible to use "git svn reset" to return erroneous svn samples (see the OP link for the response link). If this is true, find the intruder, reset in front of him, and then continue to extract.
You might want to reinstall and revert to the state before this broken commit on your main branch or convert back to the bare repository if that is what you need (in my case it is).
Hope this works. I will send an update when my order is completed (takes at least several hours ... sigh).
Edit: This seems to have worked. I successfully canceled some git-svn commits and can retry them again. :)
Edit2: make sure to reset until you get a warning about object mismatches in git svn fetch (otherwise you will soon encounter the same problem).
Greetings
Henryk
kosob source share