-
Notifications
You must be signed in to change notification settings - Fork 391
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
🐛 [Linux] git add -p not working with side-by-side #274
Comments
Thanks for this @msirringhaus! The good news is there's a PR in progress for this linked to #258. |
Ah, perfect. I saw that PR, but didn't realize it was my issue. |
This is another problem. |
I checked the PR, but it does not solve this issue. |
@dandavison This issue is not solved by #258. Its cause is that delta shows modified line (+ line and - line) into 1 line and it violates a requirement for interactive.diffFilter:
|
I'm sorry. I was missing a fix in I've confirmed the fixed behavior. Thanks! |
Upgrading to 0.4.1 didn't solve this issue for me. note the omit hunk-header-style
If I comment out |
Thanks @adampetrovic. I'll get this fixed. Linking #293 where @iyerusad also made this diagnosis. |
Thanks @adampetrovic for that diagnosis. There's good discussion also in #320, which is the same bug. I'm going to close this one to keep discussions in one place. |
System: openSUSE Tumbleweed, self-packaged delta as
git-delta
(because of naming conflicts).Happens for delta 0.3 and 0.4
My gitconfig:
My diff:
Doing
git diff
works fine, but doinggit add -p
gives meIf I explicitly set
side-by-side = false
in .gitconfig -> [delta], it works.The text was updated successfully, but these errors were encountered: