Hello,
Per the FAQ it's clear that Git (by current design) does not track
empty directories:
https://git.wiki.kernel.org/index.php/GitFaq#Can_I_add_empty_directories.3F
That's fine and I can fix that for my code going forward via the build
system, as needed.
However I'm looking to import a fairly deep (10k+ commits) svn history
in to Git and I'm wondering what the current best practices are for
dealing with empty folders? Meaning to say, I'd like to be able to
check out an older revision of the code and have it build correctly
using the older build system which expects certain folders to exist.
There are a few different answers floating around the net, so I
figured I'd confirm via the mailing list.
Is just dropping a ".gitignore" or "README" file in the empty
directories during conversion still the most reasonable approach? If
so, is there a way to do this automatically during the conversion
using "git svn" or the like?
Thank you
David
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!