From b1187e39d07b29bb57d567a4e600b65bc2a380ef Mon Sep 17 00:00:00 2001 From: Tim Bishop Date: Sun, 9 Dec 2001 02:53:36 +0000 Subject: [PATCH] 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! --- cgi-bin/cvslog.cgi | 8 ++++++++ 1 file changed, 8 insertions(+) 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); -- 2.44.0