I have noticed that there is the --word-diff option that does this. But
all modes do have also some disadvantages:

color, plain: They show the added and removed words on the same line without 
coloring the line itself which makes the changes hard to check for long lines.
porcelain: It shows the added and removed words on new lines which makes them 
easier to read but the tilde makes the changeset quite big.

Also all these variants break the usual diff format and maybe this is
the reason why none of them is enabled at default.


The in my opinion most effective variant so far that I have seen was either on 
SourceForge or GitHub. If I remember correctly the background of the characters 
from the word differences were just colored with a higher opacity to make them 
easy to see. I think it would be useful to add another variant to --word-diff 
to add this or a similar behavior. Also since it would not break the usual diff 
format this could then maybe made the default.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1486116

Title:
  Enhanced coloring of differences

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1486116/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to