=================================================================== RCS file: /cvs/cvsweb/Attic/cvsweb.conf,v retrieving revision 3.1 retrieving revision 3.5 diff -u -p -r3.1 -r3.5 --- cvsweb/Attic/cvsweb.conf 2000/07/19 21:59:47 3.1 +++ cvsweb/Attic/cvsweb.conf 2000/07/28 19:38:26 3.5 @@ -6,7 +6,7 @@ # 1999 H. Nordstrom # 2000 A. MUSHA # based on work by Bill Fenner -# $Id: cvsweb.conf,v 3.1 2000/07/19 21:59:47 knu Exp $ +# $Id: cvsweb.conf,v 3.5 2000/07/28 19:38:26 knu Exp $ # ### @@ -90,7 +90,7 @@ $prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi"; # u Unified diff # c Context diff # s Side by side - "f" => "h", + "f" => ($is_textbased ? "u" : "h"), # hidecvsroot: Don't show the CVSROOT directory # 1 Hide CVSROOT directory @@ -99,7 +99,7 @@ $prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi"; # hidenonreadable: Don't show entries which cannot be read # 1 Hide non-readable entries - # 0 Show non-readble entries + # 0 Show non-readable entries "hidenonreadable" => "1", ); @@ -117,7 +117,7 @@ $logo = ''; $defaulttitle = "CVS Repository"; # The address is shown on the footer -$address = "CVSweb by <zeller\@think.de>"; +$address = "CVSweb by <knu\@FreeBSD.org>"; # Default page background color for the diffs # and annotations @@ -142,7 +142,7 @@ display diffs between arbitrary revisions.

This script has been written by Bill Fenner -<fenner\@freebsd.org> +<fenner\@FreeBSD.org> and improved by Henner Zeller <zeller\@think.de>, Henrik Nordström @@ -159,11 +159,11 @@ If you would like to use this CGI script on your own w CVS tree, see Zeller's CVSweb distribution site. Bill's original script can be found -here. +here.

Please send any suggestions, comments, etc. to -Bill Fenner or, regarding the +Bill Fenner or, regarding the modifications, to Akinori MUSHA, Henner Zeller, @@ -260,17 +260,17 @@ $use_descriptions = 0; # exceed the width of the browser $hr_breakable = 1; -# give out function names in human readable diffs +# give out function names in 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; +$showfunc = 1; # For each pair of regexps, files that match the first regexp will be diff'ed # with an '-F' option with the second regexp. -%functionlineregexp = ( - "\\.(4th|fr)\$" => "\\(^\\| \\|\t\\): ", - ); +%funcline_regexp = ( + "\\.(4th|fr)\$" => "\\(^\\| \\|\t\\): ", + ); # ignore whitespaces for human readable diffs # (indendation and stuff ..)