Skip to content

Conversation

@SheffeyG
Copy link
Contributor

Recently when I trying to discard a hunk with neogit, an error raised: hunk has no filepath, It turns out somehow I set the diff.norefix in my global git configurations, while neogit rely on the prefix a/ and b/ for location. so we should alway set diff.nopreix to false when building command.

@CKolkey CKolkey merged commit 246eafd into NeogitOrg:master Sep 11, 2025
6 checks passed
@CKolkey
Copy link
Member

CKolkey commented Sep 11, 2025

Thanks! Didn't know that one

@SheffeyG SheffeyG deleted the fix-diff-noprefix branch September 12, 2025 09:20
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