-
Notifications
You must be signed in to change notification settings - Fork 503
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
Flip added and removed order? #14
Comments
I am using this approach - hope it can help others...
|
+1 on this. I use this lib to generate unified diffs that would normally come from Git, and they always append the deletion before the addition. The unified diff syntax explanation here seems to suggest so too: (and hi @mathiasrw). |
+1 on this. thanks! |
+1 this was surprising to me |
+1 to this, as a result |
Released in 1.4.0 |
👍 thanks!! |
Yayyyy :) |
I'm wondering if it would make sense to flip the order in which added vs removed change objects get returned
diffLines
. This would make it easier to make a "git-like" diff without having to swap the added and removed semantics.This is what I'm doing right now for Vaccine:
The text was updated successfully, but these errors were encountered: