Re: [RFC PATCH] make diff --color-words customizable

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

 



Hi,

On Fri, 9 Jan 2009, Jeff King wrote:

> On Fri, Jan 09, 2009 at 01:05:05AM +0100, Thomas Rast wrote:
> 
> > Apart from possible bugs, the main issue is: where should I put the 
> > configuration for this?
> 
> It's a per-file thing, so probably in the diff driver that is triggered 
> via attributes. See userdiff.[ch]; you'll need to add an entry to the 
> userdiff_driver struct. You can look at the funcname pattern stuff as a 
> template, as this is very similar.

I am not sure I would want that in the config or the attributes.  For me, 
it always has been a question of "oh, that LaTeX diff looks ugly, let's 
see what words actually changed".

Only rarely did I wish for a different word boundary detection algorithm.

So I'd rather have an alias than a config/attribute setting.

Ciao,
Dscho

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux