This is the mail archive of the gcc-patches@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]

[wwwdocs] cvsweb: add -p option for human-readable diffs


The -p options makes `diff' show which C function each change is in. 
This makes patches from cvsweb more readable.  Most files in CVS are C
files anyway.  OK?

Gr.
Steven


Index: cvsweb.conf
===================================================================
RCS file: /cvs/gcc/wwwdocs/cgi-bin/cvsweb.conf,v
retrieving revision 1.6
diff -c -5 -p -r1.6 cvsweb.conf
*** cvsweb.conf 14 May 2003 21:00:26 -0000      1.6
--- cvsweb.conf 12 Jul 2003 09:52:52 -0000
*************** $hr_breakable=0;
*** 181,191 ****
   
  # give out function names in human readable diffs
  # this just makes sense if we have C-files, otherwise
  # diff's heuristic doesn't work well ..
  # ( '-p' option to diff)
! $hr_funout=0;
   
  # ignore whitespaces for human readable diffs
  # (indendation and stuff ..)
  # ( '-w' option to diff)
  $hr_ignwhite=1;
--- 181,191 ----
   
  # give out function names in human readable diffs
  # this just makes sense if we have C-files, otherwise
  # diff's heuristic doesn't work well ..
  # ( '-p' option to diff)
! $hr_funout=1;
   
  # ignore whitespaces for human readable diffs
  # (indendation and stuff ..)
  # ( '-w' option to diff)
  $hr_ignwhite=1;


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