Comment 4 for bug 1917877

Revision history for this message
Simon Chopin (schopin) wrote :

I just tried this tool for the first time (never encountered the empty dir issue before), and one thing tripped me up: it doesn't create the directory on the filesystem.

I'm guessing it didn't pop up before because I guess most folks use debclean, but I've become accustomed to `git clean -xdf` for various reasons, and so I'm guessing that it made the directory go away.

While it will still technically work as intended wrt git history, dpkg-buildpackage will issue a warning about the missing directory, which will lead your unsuspecting user to wonder if something went wrong somewhere. I know I certainly did :). So could we have the tool also create the missing directories in the worktree?