Files
fd/src
greymoth-jp 6aac84e4ae fix: flag path separators in --and patterns, not just the primary pattern
The path-separator diagnostic (#1873, made unconditional for the primary
pattern in #1975) only inspected opts.pattern. --and patterns (opts.exprs)
are chained with the primary pattern and matched against the file name in
exactly the same way, so a path separator in any of them is the same silent
"no results" footgun. Factor the per-pattern check into a helper and apply
it to the primary pattern plus every --and pattern, mirroring how
ensure_use_hidden_option_for_leading_dot_pattern already iterates all
patterns. --full-path still suppresses the diagnostic. Adds a regression test.

See #1873.
2026-06-26 17:02:47 +09:00
..
2025-10-27 02:05:37 -06:00
2025-10-27 02:05:37 -06:00
2025-04-24 10:01:06 -04:00
2020-04-03 22:36:32 +02:00
2025-10-27 02:05:37 -06:00
2026-03-17 00:53:34 -06:00