Use IgnoreDuplicateDirs to prevent duplicate directory traversal
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When --walker=follow is used, symlink following is now handled by fastwalk's IgnoreDuplicateDirs adapter which tracks visited directories by device+inode. This prevents the same directory from being entered more than once, avoiding effectively infinite traversal when a symlink points outside the walker root. Close #4710
authored by Junegunn Choi · committed by Junegunn Choi · parent 2aec7d5 · Browse files · 2 files+9 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+9 added−2 removed
- other:+9 added−2 removed