]> sipb.mit.edu Git - ikiwiki.git/commitdiff
fix web commit determination
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 17 Jul 2008 23:23:00 +0000 (19:23 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 17 Jul 2008 23:23:00 +0000 (19:23 -0400)
IkiWiki/Rcs/git.pm

index aa7657b5c201382a02600d078ba7a8dd3cfd96e5..ab6a12c4896eea06b72bcd21a636af3a174b93de 100644 (file)
@@ -391,7 +391,7 @@ sub rcs_recentchanges ($) { #{{{
                }
 
                my $user=$ci->{'author_username'};
-               my $web_commit = ($user=~s/\@web//);
+               my $web_commit = ($ci->{'author'} =~ /\@web>/);
                
                # compatability code for old web commit messages
                if (! $web_commit &&