-
Notifications
You must be signed in to change notification settings - Fork 402
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
🐛 odd color-words colouring #440
Comments
Thanks @paulirish! I agree, both this and #152 would be good to fix soon. |
I just ran into this issue with Simplified reproducing test cases I encountered are below. I do have the style Working ExampleOriginal:
Change working copy to:
Running Faulty ExampleOriginal (same as above but with a single leading space):
Change working copy to:
Running |
The current release (0.10.3) refuses to handle |
I just tested the new release and an initial testing am happy to confirm that the raw git formatting is preserved. That is indeed a marked improvement, thanks for taking this step! |
edit: I realized my original bug report on
--word-diff
is captured by the thread on #152original report
I don't use word-diff very often, but it's occasionally useful. I noticed the color highlighting ain't great with delta. FWIW, this isn't high priority to me. :)
screenshots without and with delta:
(I've commented out all
[color]
and[delta]
config for those)In my case, using
--max-line-distance
with a few diff values didn't seem to change anything.repro diff:
However, I'll change this bug report to be about
--color-words
.It seems like
delta
handles some --color-words output well:👍
but then other output gives it problems:
repro:
🤔
and here you asked if folks prefer delta's own highlighting...
Here's at least one case where delta's highlighting fails quite a bit (on --color-words output):
i'm using 0.4.4.
cheers!
The text was updated successfully, but these errors were encountered: