Thread (7 messages) flat view 7 messages, 5 authors, 2016-06-15

Re: [PATCH 3/3] Teach 'diff' about 'nodiff' attribute.

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:43:04

On Fri, 13 Apr 2007, Andy Parkins wrote:
If I've understood the attributes system correctly, it's worth bearing 
in mind that "!diff" is not the same as "nodiff".  The not in "!diff" 
means "supress the attribute diff", not as you would traditionally 
imagine "not-diff".  In this case it doesn't matter because there are 
only two possibilities for the diff engine - show the diff or don't.  
However, more attributes might get added that aren't so simple.

Junio - This makes me think that perhaps "!" is not the right symbol for 
this - that's going to get read by programmers everywhere as NOT, 
rather than suppress.  Perhaps it doesn't matter, I might be 
over-thinking this.
Maybe "-" then?  That better convey the notion of suppression while "!" 
is more about negation.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help