git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Nicolas Pitre <nico@cam.org>
Date
Apr 13, 2007, 14:09 UTC
Message-ID
<alpine.LFD.0.98.0704131007140.28181@xanadu.home>
In-Reply-To
<200704131354.57056.andyparkins@gmail.com>
On Fri, 13 Apr 2007, Andy Parkins wrote:
Show 11 quoted lines
> 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
Previous: Andy ParkinsNext: Julian Phillips
Message 6 of 7 in “Teach 'diff' about 'nodiff' attribute.”
  1. 3/3 Teach 'diff' about 'nodiff' attribute.Junio C Hamano, Apr 13, 2007
  2. Johannes SixtApr 13, 2007
  3. Andy ParkinsApr 13, 2007
  4. Johannes SixtApr 13, 2007
  5. Andy ParkinsApr 13, 2007
  6. Nicolas PitreApr 13, 2007
  7. Julian PhillipsApr 13, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.