From: Tim Bishop Date: Sun, 9 Dec 2001 02:53:36 +0000 (+0000) Subject: Added section to deal with users who don't have an e-mail address. Without X-Git-Tag: PRE_WWW_REDESIGN~87 X-Git-Url: http://git.i-scream.org/?a=commitdiff_plain;h=b1187e39d07b29bb57d567a4e600b65bc2a380ef;p=www.i-scream.org.git Added section to deal with users who don't have an e-mail address. Without this the line doesn't get any special treatment, which doesn't look pretty! --- diff --git a/cgi-bin/cvslog.cgi b/cgi-bin/cvslog.cgi index da87f36..1e16594 100755 --- a/cgi-bin/cvslog.cgi +++ b/cgi-bin/cvslog.cgi @@ -108,6 +108,14 @@ foreach my $module (@modules) { print HTML_encode("$2"); print "\n\n" } + elsif ($line =~ /^([0-9]{4}-[0-9]{2}-[0-9]{2}.*?)\s+([^\s]+)$/) { + print "\n\n"; + print HTML_encode($1); + print "\n"; + print " commited by "; + print HTML_encode("$2"); + print "\n\n" + } elsif($line =~ /(\S+) (\(\S+\))([,:])/ || $line =~ /(\S+) (\(\S+,\s+\S+\))([,:])/) { #chop $line; my ($file, $rest, $ext) = ($1, $2, $3);