Repository navigation
Conversation
Signed-off-by: coyaSONG <[email protected]>
Signed-off-by: coyaSONG <[email protected]>
|
Resolved the The refreshed patch is intentionally narrower: current Local verification is green: formatting, clippy, all tests (2,666 passed / 8 ignored), test-presence guards, manual behavior checks, and a 200-run release startup comparison. The PR is ready for review; the remaining contributor-side prerequisite is the CLA check. |
|
Thanks for this. #3854, merged on 2026-09-03, rewrote find's dispatch and walk: any first token containing a path separator is now treated as a path, so |
Summary
./journal.mdas native search roots.findvisibility for hidden and gitignored entries, while keeping compact RTK syntax ignore-aware.Closes #2995.
Root cause and impact
The walker stripped the search root from every result and discarded the resulting empty path, so an explicitly requested file or directory disappeared. Dispatch also classified explicit file paths as compact basename patterns, and native-flag syntax still applied RTK's hidden and ignore-file pruning. These paths produced silent false negatives with exit code 0.
Native syntax now disables hidden and ignore-file pruning. Compact RTK syntax retains its existing pruning behavior, including the existing dotfile-pattern exception. Bare basenames such as
Cargo.tomlremain compact patterns for backward compatibility;./Cargo.tomland absolute file paths are unambiguous native roots.The branch has been merged with the current
developbranch. That upstream rewrite already fixed bracket globs and final-newline handling, and the current transparency contract intentionally keeps zero-match output empty, so this update does not duplicate or reverse those behaviors.Test plan
cargo fmt --all -- --checkcargo clippy --all-targetscargo test --all— 2,666 unit tests passed, 8 ignored; all integration test binaries passedbash scripts/check-test-presence.sh upstream/developbash scripts/check-test-presence.sh --self-test