]> sipb.mit.edu Git - ikiwiki.git/commitdiff
cosmetic changes from Recai
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 14 Oct 2006 03:10:33 +0000 (03:10 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 14 Oct 2006 03:10:33 +0000 (03:10 +0000)
IkiWiki/Rcs/git.pm

index 949bbde0ae602a46eafd10f3a44484ee8e203358..09275fe5f550868fac8c692665b63ce299bf2073 100644 (file)
@@ -356,19 +356,19 @@ sub rcs_recentchanges ($) { #{{{
                $type = "web";
                $when = time - $ci->{'author_epoch'};
 
-               foreach my $bit (@{ $ci->{'details'} }) {
+               DETAIL: foreach my $detail (@{ $ci->{'details'} }) {
                        my $diffurl = $config{'diffurl'};
-                       my $file    = $bit->{'file'};
+                       my $file    = $detail->{'file'};
 
                        $diffurl =~ s/\[\[file\]\]/$file/go;
                        $diffurl =~ s/\[\[sha1_parent\]\]/$ci->{'parent'}/go;
-                       $diffurl =~ s/\[\[sha1_from\]\]/$bit->{'sha1_from'}/go;
-                       $diffurl =~ s/\[\[sha1_to\]\]/$bit->{'sha1_to'}/go;
+                       $diffurl =~ s/\[\[sha1_from\]\]/$detail->{'sha1_from'}/go;
+                       $diffurl =~ s/\[\[sha1_to\]\]/$detail->{'sha1_to'}/go;
 
                        push @pages, {
                                page => pagename($file),
                                diffurl => $diffurl,
-                       },
+                       };
                }
 
                push @message, { line => $title };