virtual-root=/cgit
cache-root=/tmp/cgit/cache
cache-size=1021
snapshots=tar.gz tar.bz zip
enable-log-filecount=1
enable-log-linecount=1
summary-log=5
summary-branches=5
summary-tags=5
css=/cgit/cgit.css
logo=/cgit/cgit.png
max-repo-count=100
source-filter=/home/ron/bin/perl.hiliter.pl
repo.url=Acute-ProcessPostScript
repo.path=/home/ron/perl.modules/Acute-ProcessPostScript/.git
repo.desc=Acute::ProcessPostScript
# All following lines are 3 per module, as above.
####
#!/usr/bin/perl
use warnings;
use strict;
# ---------
my $file = shift;
if($file =~ /\.(p[ml]|t)$/i)
{
system "/usr/local/bin/perltidy -html -st -ntoc -npod -pre -nssc -nnn"
}
else
{
system "cat -n";
}
####
507 ron@zephyr:~/httpd/prefork$ dir /home/ron/bin/perl.hiliter.pl
-rwxr-xr-x 1 ron ron 207 2009-10-15 09:36 /home/ron/bin/perl.hiliter.pl*