GNU bug report logs - #52111
coloring bug in diff -y ?

Previous Next

Package: diffutils;

Reported by: linuxprocess <at> free.fr

Date: Thu, 25 Nov 2021 16:58:01 UTC

Severity: normal

To reply to this bug, email your comments to 52111 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#52111; Package diffutils. (Thu, 25 Nov 2021 16:58:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to linuxprocess <at> free.fr:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Thu, 25 Nov 2021 16:58:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: linuxprocess <at> free.fr
To: bug-diffutils <at> gnu.org
Subject: coloring bug in diff -y ?
Date: Thu, 25 Nov 2021 17:16:29 +0100 (CET)
[Message part 1 (text/plain, inline)]
Hello,

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.

Regards

Guillaume

[diff--color-y.png (image/png, attachment)]

This bug report was last modified 3 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.