diffutils-devel
[Top][All Lists]
Advanced

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

Re: [Diffutils-devel] Add a flag to produce colored output like git's di


From: Jim Meyering
Subject: Re: [Diffutils-devel] Add a flag to produce colored output like git's diff-highlight or colordiff
Date: Fri, 20 Jan 2017 08:54:46 -0800

On Fri, Jan 20, 2017 at 3:03 AM, Ciro Santilli <address@hidden> wrote:
> People WANT this:
> http://stackoverflow.com/questions/8800578/colorize-diff-on-the-command-line
> :-)
>
> diff-highlight word highlight preferred.

There is no word-highlighting, yet, but --color (line-coloring) was
added in 3.4. The latest is 3.5.

* Noteworthy changes in release 3.4 (2016-08-08) [stable]

** New features

   diff accepts two new options --color and --palette to generate
   and configure colored output.  --color takes an optional argument
   specifying when to colorize a line: --color=always, --color=auto,
   --color=never.  --palette is used to configure which colors are used.



reply via email to

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