This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wwwdocs] cvsweb: add -p option for human-readable diffs
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>, gcc-patches at gcc dot gnu dot org
- Date: 12 Jul 2003 11:58:38 +0200
- Subject: [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;