[Bug 1486116] Re: Enhanced coloring of differences

Sworddragon 1486116 at bugs.launchpad.net
Wed Jan 18 15:51:57 UTC 2017


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
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1486116

Title:
  Enhanced coloring of differences

Status in git package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 15.10 dev with git-gui 1:2.5.0-1 and currently only
  the lines are colored for added/removed ones. Maybe the differences in
  the lines which characters are added/removed can be colored too (for
  example with a higher opacity) to make them easier to see.

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



More information about the foundations-bugs mailing list