# test that chezmoi apply --dry-run does not remove entries from exact directories
chezmoi apply --dry-run --force
exists $HOME/.dir/file1
exists $HOME/.dir/file2
exists $HOME/.dir/subdir/file

# test that chezmoi apply removes entries from exact directories
chezmoi apply --force
exists $HOME/.dir/file1
! exists $HOME/.dir/file2
! exists $HOME/.dir/subdir/file

-- home/user/.dir/file1 --
# contents of .dir/file1
-- home/user/.dir/file2 --
# contents of .dir/file2
-- home/user/.dir/subdir/file --
# contents of .dir/subdir/file
-- home/user/.local/share/chezmoi/exact_dot_dir/file1 --
# contents of .dir/file1
