From: joey Date: Sun, 12 Mar 2006 20:18:17 +0000 (+0000) Subject: web commit normalisation X-Git-Tag: 1.0~405 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=448b5ce5514307dc4e2b6e9625e8dbed077775c6;p=ikiwiki.git web commit normalisation --- diff --git a/ikiwiki b/ikiwiki index 67004e413..46140c9ea 100755 --- a/ikiwiki +++ b/ikiwiki @@ -446,6 +446,12 @@ sub rcs_recentchanges ($) { #{{{ $state='body'; } elsif ($state eq 'body' && /$div/) { + if (defined $message[0] && + $message[0]=~/^web commit by (\w+)(.*)/) { + $user="$1 (web)"; + $message[0]=$2; + } + push @ret, { rev => $rev, user => $user, when => $when, message => [@message], pages => [@pages] } if @pages;