hercules-ci/gitignore.nix

Directory with only ignored contents stays present

Minnozz opened this issue · 3 comments

In git, when a directory has only ignored contents, the entire (empty) directory does not exist because directories are not their own entities in git.

With gitignore.nix, the empty directory stays present, which can cause a difference in the input even though git shows no changes.

Updated the description.

Great issue and example! Just been bitten by this as well.

Fixed in #64 . Thanks for reporting and for the reproducer!