Closed alkuzad closed 1 year ago
I tried to reproduce this on Windows in 1cfc293000a129f72719c680b0715d37b586ebb7, but the excludes behaved as expected.
Can you share the contents of your dotfiles repo? Alternatively, do you have an example that reproduces this problem on a new machine?
@twpayne I tried to reproduce it on another PC and it did work fine. I have a suspicion that AntiVirus does something shady as chezmoi is running super slow (over 1m sometimes to do apply) on this PC (I checked on Performance Analyzer and not because of chezmoi itself).
I think I managed to do a local VM with Windows to have easier way of doing isolated tests :D Sadly not everything is on WSL yet, but I want to get there eventually.
Sorry for troubles, at least one more test is to guard against regression in future.
Describe the bug
I have excludes defined and on test flox/nix environment they work but on Windows they dont
To reproduce
Setup .chezmoiexternal.toml:
Run
chezmoi apply
and see that files excluded are created.Expected behavior
.github, .vscode folders and git.lua are skipped
Output of command with the
--verbose
flagThere is no point of pushing big diffs so just the file diff part:
Output of
chezmoi doctor
Additional context
I created same file on test env on Flox, and changed the path of external to just "clink-completions" and it works on Linux, so I don't know how to debug:
Edit file into:
And run:
On linux container it works fine.