Closed jwodder closed 3 years ago
Thanks for submitting this.
Well when using *
everything is ignored (no exceptions).
One way of solving your issue is to use a a pattern like this:
cmpignore:
- '!file'
- '[a-zA-Z0-9]*'
Which translates to ignore everything starting with a
to z
and so on except file
(the !file
).
I'll add this to the doc
@deadc0de6 That solution works, thanks!
Dotdrop version: v1.7.1 Using dotdrop: from PyPI
Consider a repo with the following
config.yaml
:and where
dir/
contains exactly one file,file
. If I install this repo with dotdrop, edit~/dir/file
, create a file~/dir/extra
, and then rundotdrop compare -p base
, I expect to see a diff fordir/file
and no information aboutdir/extra
. However, I instead get no information about any differences between dotfiles. This remains true regardless of whether'!file'
is changed to'!*/file'
or'!*/dir/file'
and regardless of whether it's placed before or after the'*'
.Output from
dotdrop compare -p base --verbose
: