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

Re: [PATCH] add a diff-files command (revised)

From
Nicolas Pitre <nico@cam.org>
Date
Apr 28, 2005, 02:39 UTC
Message-ID
<Pine.LNX.4.62.0504272229290.14033@localhost.localdomain>
In-Reply-To
<20050428021547.GB8612@pasky.ji.cz>
On Thu, 28 Apr 2005, Petr Baudis wrote:
Show 10 quoted lines
> Dear diary, on Thu, Apr 28, 2005 at 04:06:29AM CEST, I got a letter
> where Nicolas Pitre <nico@cam.org> told me that...
> > In the same spirit as diff-tree and diff-cache, here is a diff-files 
> > command that processes differences between the index cache and the 
> > working directory content.  It produces lists of files that are either 
> > changed, deleted and/or unknown with regards to the current cache, 
> > content. The -p option can also be used to generate a patch describing 
> > the differences in patch form.
> 
> Except some usage enhancement, how does this differ from show-diff?

This is intended to supercede show-diff. But since its argument list is different I thought creating a new command would be nicer while show-diff usage (which has accumulated cruft already with now unused switches) is phased out. Also the name "diff-files" is more inline with the other diff commands.

> Also, for some reason you have update-cache.c in your patch too.
Huh!?
Nicolas
Previous: Petr Baudis
Message 3 of 3 in “add a diff-files command (revised)”
  1. add a diff-files command (revised)Nicolas Pitre, Apr 28, 2005
  2. Petr BaudisApr 28, 2005
  3. Nicolas PitreApr 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.