In short, the problem is that when I started git svn rebase, I got a bunch of "creating an empty directory: ..."
On the svn side of the trunk, there is a directory called TOD (Trunk Only Dir), which has a lot of files. in another branch there is no such directory at all.
When I cloned this svn repository using git svn, the main things are fine, but on the branch I got the TOD directory and the same directory structure, except that it does not have files.
If I rm the TOD directory (safe because git does not track directories) and switch to master and run git svn rebase, I get "create empty direcotry" messages and then when I check the branch, the TOD directory is returned.
In general, the question is how to prevent git svn from creating empty TOD directories on the branch?
source
share