# test that chezmoi does not follow symlinks in the source directory if the file should be ignored
symlink $CHEZMOISOURCEDIR/.HASH_dot_file -> non_existent_file
chezmoi status
rm $CHEZMOISOURCEDIR/.HASH_dot_file
chezmoi status

# test that chezmoi does follow symlinks in the source directory if the file should not be ignored
symlink $CHEZMOISOURCEDIR/.chezmoifile -> non_existent_file
! chezmoi status
[!windows] stderr 'no such file or directory'
[windows] stderr 'The system cannot find the file specified'
rm $CHEZMOISOURCEDIR/.chezmoifile
chezmoi status

-- home/user/.local/share/chezmoi/.keep --
