This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]