Skip to content

fix(index): use item.name in checkout_unstaged instead of escaped_path#1981

Merged
CKolkey merged 1 commit into
NeogitOrg:masterfrom
dmbhatti:fix/discard-unstaged-section
Jul 9, 2026
Merged

fix(index): use item.name in checkout_unstaged instead of escaped_path#1981
CKolkey merged 1 commit into
NeogitOrg:masterfrom
dmbhatti:fix/discard-unstaged-section

Conversation

@dmbhatti

@dmbhatti dmbhatti commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

escaped_path produces incorrect paths for git checkout, causing discard of the entire unstaged section to silently do nothing.

escaped_path produces incorrect paths for git checkout, causing discard
of the entire unstaged section to silently do nothing. item.name is
consistent with the single-file discard path and the prior fix in
7728ee3.
@CKolkey CKolkey merged commit a0847c4 into NeogitOrg:master Jul 9, 2026
3 of 6 checks passed
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.

2 participants