Skip to content

fix: case-insensitive path comparison in Worktree.Status() on case-insensitive filesystems - #5

Open
Kasuki354 wants to merge 1 commit into
jakaramelod:mainfrom
Kasuki354:fix/case-insensitive-status
Open

fix: case-insensitive path comparison in Worktree.Status() on case-insensitive filesystems#5
Kasuki354 wants to merge 1 commit into
jakaramelod:mainfrom
Kasuki354:fix/case-insensitive-status

Conversation

@Kasuki354

Copy link
Copy Markdown

When core.ignorecase is true (macOS/Windows), use strings.EqualFold for path comparison. Prevents false modified/untracked reports for files with casing-only changes.

/claim #1

…sensitive filesystems

When core.ignorecase is true (macOS/Windows), use strings.EqualFold
for path comparison. This prevents false modified/untracked reports
for files with casing-only changes (README.md vs Readme.md).

Resolves jakaramelod#1
@opirebot

opirebot Bot commented Aug 7, 2026

Copy link
Copy Markdown

😅 Ups... the issue does not have any reward yet!

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