-
Notifications
You must be signed in to change notification settings - Fork 395
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
🐛 rename
and copy
operations produce empty output
#1548
Comments
This looks like it might be a regression from #392 |
Okay, so this is a separate issue, but it seems that delta doesn't respect the After figuring that out, I was finally able to find the problematic option: So IMHO, Or alternatively, rename/copy operations should be represented by their own pseudo-hunks when |
What delta version? I thought that this was a libgit2 issue that had been solved. |
I patched the nixpkgs derivation of P.S. looking at the build logs, I can see that P.P.S. looking at the upstream libgit2 repo, it seems that the relevant PR libgit2/libgit2#6544 was first released in version 1.7.0. |
Great. Circling back to the original issue, what do you think about the current behaviour of |
For diffs of binary files, I was thinking about keeping the line @dandavison what do you think about adding such line for otherwise empty diffs? It could be hidden behind an option like @RuRo would something like that work in your case? |
I think so. I guess, the specifics could use some bikeshedding, but I'd generally be okay with any solution that could show this information without showing the redundant (when used with |
Running this reproduction script:
Produces the following output:
The text was updated successfully, but these errors were encountered: