You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ls resolves a symlink which pointed to a file #6706
E.g. there are a file and a symlink which pointed to the file, ls * or just ls, the type of the symlink is symlink, but ls <NAME_OF_THE_SYMLINK>, the type of the symlink is file.
How to reproduce
mkdir test
cd test
touch a_file
ln -s a_file a_symlink
ls | where name == a_symlink | get type
ls a_symlink | get type
Expected behavior
ls does not resolve a symlink which pointed to a file
Activity
fdncred commentedon Oct 12, 2022
it seems like we had a PR recently which changed the way
lsand symlinks work. You might want to look into that to see what changed.Ls symlink fix (#8276)