Skip to content

fix: read LF worktree content through its clean filter - #64

Merged
undont merged 3 commits into
mainfrom
fix/clean-filter-worktree-read
Oct 9, 2026
Merged

undont merged 3 commits into
mainfrom
fix/clean-filter-worktree-read

Conversation

@undont

@undont undont commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • a file with a converting attribute (filter, ident, working-tree-encoding) and LF-only content skipped the clean filter, leaving git add staging hunks that were not visible in git diff; the worktree side now goes through git's clean path whenever one of those attributes is set

Test plan

  • make check clean

@undont
undont merged commit 3774913 into main Oct 9, 2026
11 checks passed
@undont
undont deleted the fix/clean-filter-worktree-read branch October 9, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant