From: Nicolas Pitre Date: Thu, 28 Apr 2005 02:39:00 GMT Subject: Re: [PATCH] add a diff-files command (revised) Message-ID: In-Reply-To: <20050428021547.GB8612@pasky.ji.cz> On Thu, 28 Apr 2005, Petr Baudis wrote: > Dear diary, on Thu, Apr 28, 2005 at 04:06:29AM CEST, I got a letter > where Nicolas Pitre 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