-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: do not list hidden files negated in .gitignore without --hidden #2097
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
SomSamantray
wants to merge
4
commits into
sharkdp:master
Choose a base branch
from
SomSamantray:fix/hidden-files-negated-gitignore
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+53
−3
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
dc2773b
fix: do not list hidden files negated in .gitignore without --hidden
SomSamantray 3bd8980
docs: add changelog entry for hidden gitignore negation fix
SomSamantray 7d8c497
docs(review): record residual review findings
SomSamantray 0cfcde5
fix: enforce hidden filter regardless of min-depth
SomSamantray File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
docs/residual-review-findings/3bd8980b5250d0e969adf36b45b64d784ca868f8.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Residual Review Findings | ||
|
|
||
| Run context: LFG pipeline for sharkdp/fd issue #1266 (hidden files wrongly listed when negated in `.gitignore`). Plan: `docs/plans/2026-08-15-001-fix-hidden-gitignore-negation-plan.md`. Review run: `ce-code-review mode:agent`, run id `20260815-212237-5e098adb`, artifact at `/tmp/compound-engineering-501/ce-code-review/20260815-212237-5e098adb/`. | ||
|
|
||
| ## Residual Review Findings | ||
|
|
||
| - P3 — `src/walk.rs:515` — Hidden check only covers dot-prefix names, so attribute-hidden entries with non-dot names still leak on Windows when un-ignored by a gitignore negation — tracker ticket: https://github.com/sharkdp/fd/issues/2096 | ||
|
|
||
| ## Not applied in step 5 | ||
|
|
||
| - #1 (above): fix is a behavior change (per-entry attribute metadata checks on Windows) conflicting with the plan's documented name-based, no-syscall decision (KTD1); documented as a limitation in the plan's Assumptions and in the PR description. Filed as issue #2096. | ||
| - Broken-symlink dot-prefix coverage gap (advisory, anchor 50): routed to `testing_gaps`; not eligible for apply per the review-followup bar. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should not be checked in