{"thread":{"id":"22197","subject":"git-svn doesn't fetch an empty directory with svn:externals","startedAt":"2010-01-13T11:49:38Z","lastAt":"2010-01-13T15:11:02Z","messageCount":2,"participants":["Michel Jouvin","Erik Faye-Lund"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"131461","messageId":"loom.20100113T124446-187@post.gmane.org","threadId":"22197","inReplyTo":null,"subject":"git-svn doesn't fetch an empty directory with svn:externals","fromName":"Michel Jouvin","fromEmail":"jouvin@lal.in2p3.fr","sentAt":"2010-01-13T11:49:38Z","receivedAt":"2010-01-13T11:49:38Z","isPatch":false,"sender":{"key":"jouvin@lal.in2p3.fr","avatar":null},"body":"Hi,\n\nI'm running in a problem when trying to fetch a SVN repository branch that \ncontains an empty directory with a SVN property svn:externals attached. This \ndirectory is missing in the Git repository/checkout. I was unable to find an \noption to have it added. I'd like to get it added to readd the externals using \nthe trick described in http://kerneltrap.org/mailarchive/git/2007/5/1/245002. \nWithout it, I have to recreate it in git, add it to .gitignore... which is \npainful.\n\nBTW, I didn't find any documentation on empty dirs handling by git-svn. They \nseems to be often removed which is not always desirable. Are they options \nrelated to this?\n\nCheers,\n\nMichel\n"},{"id":"131480","messageId":"40aa078e1001130711gf602ed4pa68cbeb8ba590600@mail.gmail.com","threadId":"22197","inReplyTo":"loom.20100113T124446-187@post.gmane.org","subject":"Re: git-svn doesn't fetch an empty directory with svn:externals","fromName":"Erik Faye-Lund","fromEmail":"kusmabite@googlemail.com","sentAt":"2010-01-13T15:11:02Z","receivedAt":"2010-01-13T15:11:02Z","isPatch":false,"sender":{"key":"kusmabite@gmail.com","avatar":"https://avatars.githubusercontent.com/u/47073?v=4"},"body":"On Wed, Jan 13, 2010 at 12:49 PM, Michel Jouvin <jouvin@lal.in2p3.fr> wrote:\n> Hi,\n>\n> I'm running in a problem when trying to fetch a SVN repository branch that\n> contains an empty directory with a SVN property svn:externals attached. This\n> directory is missing in the Git repository/checkout. I was unable to find an\n> option to have it added. I'd like to get it added to readd the externals using\n> the trick described in http://kerneltrap.org/mailarchive/git/2007/5/1/245002.\n> Without it, I have to recreate it in git, add it to .gitignore... which is\n> painful.\n>\n> BTW, I didn't find any documentation on empty dirs handling by git-svn. They\n> seems to be often removed which is not always desirable. Are they options\n> related to this?\n>\n\nI don't think this is git-svn's fault, but simply that git doesn't\ntrack directories (just files). I guess git-svn could create some sort\nof place-holder files in empty folders, but currently it doesn't\nAFAIK.\n\n-- \nErik \"kusma\" Faye-Lund\n"}]}