Comment 12 for bug 1687057

Revision history for this message
Robie Basak (racb) wrote : Re: [Bug 1687057] Re: git cannot represent empty directories by default

On Mon, Jun 29, 2020 at 12:37:33PM -0000, Paride Legovini wrote:
> The official git FAQ [1] suggest using an en .gitignore file as a
> placeholder for empty directories. This is also what git-svn does, see
> the --placeholder-filename option in git-svn(1).

Unfortunately that's not an option for git-ubuntu since we can't change
the source that we're importing.

Or if we do, then we have to do it in a reversible way, such as how we
do the .git escaping (if .git is present then it gets imported into git
as ..git).

Otherwise we end up in a situation where a build based on git-ubuntu
sources would fail to build, or result in a different build, from a
build from the source package that git-ubuntu imported.