From f27a462b185ef571d16e467be70123f46f9ae990 Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 14 Oct 2006 03:10:33 +0000 Subject: [PATCH] cosmetic changes from Recai --- IkiWiki/Rcs/git.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/IkiWiki/Rcs/git.pm b/IkiWiki/Rcs/git.pm index 949bbde0a..09275fe5f 100644 --- a/IkiWiki/Rcs/git.pm +++ b/IkiWiki/Rcs/git.pm @@ -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 }; -- 2.45.2