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

Re: [PATCH] add a diff-files command

From
Junio C Hamano <junkio@cox.net>
Date
Apr 28, 2005, 17:16 UTC
Message-ID
<7vk6mm9607.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.62.0504281238130.14033@localhost.localdomain>
>>>>> "NP" == Nicolas Pitre <nico@cam.org> writes:

NP> ... And yesterday I realized that the (currently unimplemented) NP> --ignore switch to show-files, combined with the exclusion pattern list, NP> whould be more logical than teaching show-diff (which I still think is a NP> misnamer in the context of the other diff tools) about files unknown to NP> the cache. The patch to show-files is also much smaller and logical.

I agree wholeheartedly with both counts. (1) Linus and I discussed briefly about renaming show-diff to diff-files but it is on hold, waiting for a big wholesale rename. (2) the logical place for the -X and -x is "show-files --ignore".

Previous: Nicolas Pitre
Message 6 of 6 in “add a diff-files command”
  1. add a diff-files commandNicolas Pitre, Apr 27, 2005
  2. Junio C HamanoApr 27, 2005
  3. Nicolas PitreApr 28, 2005
  4. Junio C HamanoApr 28, 2005
  5. Nicolas PitreApr 28, 2005
  6. Junio C HamanoApr 28, 2005

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.