bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diff -r option to ignore missing files


From: Chuck Swiger
Subject: Re: diff -r option to ignore missing files
Date: Thu, 17 Nov 2005 13:13:33 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915

Bryce Nesbitt (mailing list account) wrote:
This is a request for a new switch to diff -- "ignore files that don't exist" (e.g. suppress the "Only in" message).

Why?

Sometimes I build a sparse tree with only the files I've changed, and I want to diff it to the original.

At least part of what you're asking for is available via:

  -P     When comparing directories, if a file appears only in the second
         directory of the two, treat it  as  present  but  empty  in  the
         other.

--
-Chuck





reply via email to

[Prev in Thread] Current Thread [Next in Thread]