[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] bug#52111: coloring bug in diff -y ?

From: linuxprocess
Subject: [bug-diffutils] bug#52111: coloring bug in diff -y ?
Date: Thu, 25 Nov 2021 17:16:29 +0100 (CET)


I cannot realy determine if it is a bug or a whish ...
But as a human, "diff -y --color" does not color differences as I expected.
Deleted lines appear in red, added lines appear in green ... but modified lines 
have the standard color.

The only way to see that a line has been modified is the '|' character between 
the two colums.
For a coloring diff, that seems not enough to me for complex files ...
Should not we meet the same coloring decisions as without "-y" ?

What do you think ?

Please find enclosed a screenshot with a simple example : the modified line is 
not colored.



Attachment: diff--color-y.png
Description: PNG image

reply via email to

[Prev in Thread] Current Thread [Next in Thread]