git svn clone not checking out all directories
git, git-svn, svn
Solution
As far as I can tell, git doesn't tracks empty directories:
http://git.or.cz/gitwiki/GitFaq#CanIaddemptydirectories.3F:
That is, directories never have to be added to the repository, and are not tracked on their own.
Does this make sense? Are the missing directories empty?
Problem
I have a project in SVN and I tried to clone it with git-svn. I followed the example in the git-svn docs. ``` git svn clone svn+ssh://host/path/trunk project_name ``` The command completed with no error msg, but the cloned project does not contain all the directories as the project in SVN. At the top level, my SVN project has... ``` $ svn ls svn+ssh://host/path/trunk README Rakefile app/ config/ db/ doc/ lib/ log/ public/ script/ test/ tmp/ vendor/ ``` After cloning, locally I have... ``` README Rakefile app config doc public script test ``` There are also subdirs missing. UPDATE Experimentally cloned another project on same host. Seemed to work fine. What's special about this one? Nothing I can think of except that I just created it and imported it into SVN before cloning. Would that make a difference? Tried creating a completely new project, importing to SVN and cloning. Got same result, same missing dirs.