ignore based on package dirent name prior to dot- adjustment
commit37025f55dfbbf15c02dc5bca3c3c80eeb099f89c
authorAdam Spiers <stow@adamspiers.org>
Sun, 8 Sep 2024 12:05:16 +0000 (8 13:05 +0100)
committerAdam Spiers <stow@adamspiers.org>
Sun, 8 Sep 2024 18:02:45 +0000 (8 19:02 +0100)
tree29076896ea19dcccd5e7d50096843885af15c8b6
parent2e0d39b8f8f5b5d8acf651b5dda6a622686a9938
ignore based on package dirent name prior to dot- adjustment

If `--dotfiles` was enabled, files in the package such as
`dot-gitignore` would be translated to `.gitignore` and then ignored
by the default ignore list.  However any file named `dot-*` in a
package is obviously intended to be stowed as a dot file, so should
not be ignored.

To fix this, ignore based on the name in the package, not the
potentially translated name used for stowing.
NEWS
doc/stow.texi
lib/Stow.pm.in
t/dotfiles.t