On Wed, 18 Jul 2007, Matthieu Moy wrote: > > If you checkout a branch, create an empty directory in this branch > (probably a placeholder, either for future versionned files, or for > generated files), you cannot tell git "this empty directory is in this > branch, but not in other ones" without adding a file in it. Right. Which is the suggested setup: add an empty ".gitignore" file to the directory, and you're done. It now acts "as if" git tracked the directory (git will remove the directory when switching branches), but without the lie that we really track any directory contents. Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html