This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: diffing directories with merged-as-deleted files?
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Phil Edwards'" <phil at codesourcery dot com>,"'Giovanni Bajo'" <giovannibajo at libero dot it>
- Cc: "'Joern RENNECKE'" <joern dot rennecke at st dot com>,<gcc at gcc dot gnu dot org>
- Date: Fri, 4 Nov 2005 11:11:47 -0000
- Subject: RE: diffing directories with merged-as-deleted files?
Phil Edwards wrote:
> On Fri, Nov 04, 2005 at 12:58:11AM +0100, Giovanni Bajo wrote:
>> Joern RENNECKE <joern.rennecke@st.com> wrote:
>>
>>> P.S.: When I use a diff-cmd with -N, I not only get a diff for the 44
>>> files that are different, but also a header for each of the 752 files
>>> that are identical, i.e. two lines for each file like:
>>>
>>> Index: gcc/tree-ssa-operands.c
>>> ===================================================================
>>>
>>> cvs would never do such nonsense.
Ever seen the output from "cvs diff -wBb"? :)
>> Absolutely! It would just print all the directory names in the middle of
>> the diffs. I call that nonsense as well.
>
> Somewhere I have a tiny awk script to remove all that garbage, ping me if
> I should hunt it up.
You do know that stuff comes out on stderr and can be piped separately from
the rest of the output that comes on stdout, yeh?
Or there's always "cvs -q <cmd>".
Either way a script seems overkill - even a tiny one.
cheers,
DaveK
--
Can't think of a witty .sigline today....