m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00

chore: remove redundant word in comment (#4490)

Signed-off-by: longhutianjie <keplrnewton@icloud.com>
This commit is contained in:
longhutianjie
2025-08-14 12:26:29 +08:00
committed by GitHub
parent 1afd143810
commit 978b6254c7

View File

@@ -285,7 +285,7 @@ func (r *Reader) readFiles(roots []string, opts walkerOpts, ignores []string) bo
if strings.HasPrefix(ignore, sep) { if strings.HasPrefix(ignore, sep) {
ignoresSuffix = append(ignoresSuffix, ignore) ignoresSuffix = append(ignoresSuffix, ignore)
} else { } else {
// 'foo/bar' should match match // 'foo/bar' should match
// * 'foo/bar' // * 'foo/bar'
// * 'baz/foo/bar' // * 'baz/foo/bar'
// * but NOT 'bazfoo/bar' // * but NOT 'bazfoo/bar'