mirror of
https://github.com/junegunn/fzf.git
synced 2026-05-25 17:58:50 +08:00
Use IgnoreDuplicateDirs to prevent duplicate directory traversal
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
This commit is contained in:
@@ -27,6 +27,7 @@ CHANGELOG
|
||||
- With the reduced per-entry cost, the cache now has broader coverage.
|
||||
- fish: Improved command history (CTRL-R) (#4703) (@bitraid)
|
||||
- Bug fixes
|
||||
- `--walker=follow` no longer visits the same directory more than once. This avoids effectively infinite traversal when a symlink points outside the walker root (#4710)
|
||||
- Fixed AWK tokenizer not treating a new line character as whitespace
|
||||
- Fixed `--{accept,with}-nth` removing trailing whitespaces with a non-default `--delimiter`
|
||||
- Fixed OSC8 hyperlinks being mangled when the URL contains unicode characters (#4707)
|
||||
|
||||
Reference in New Issue
Block a user