From cadfac387cd2a206a195d4e425536163a5a9a333 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 21 Oct 2007 22:59:18 +0000 Subject: [PATCH] minor stylistic changes --- IkiWiki/Rcs/git.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/IkiWiki/Rcs/git.pm b/IkiWiki/Rcs/git.pm index 3407354c9..8f75399f8 100644 --- a/IkiWiki/Rcs/git.pm +++ b/IkiWiki/Rcs/git.pm @@ -254,8 +254,9 @@ sub git_commit_info ($;$) { #{{{ $num ||= 1; - my @raw_lines = - run_or_die('git-log', "--max-count=$num", '--pretty=raw', '--raw', '--abbrev=40', '--always', '-m', '-r', $sha1, '--', '.'); + my @raw_lines = run_or_die('git-log', "--max-count=$num", + '--pretty=raw', '--raw', '--abbrev=40', '--always', '-m', + '-r', $sha1, '--', '.'); my ($prefix) = run_or_die('git-rev-parse', '--show-prefix'); my @ci; @@ -370,9 +371,9 @@ sub rcs_recentchanges ($) { #{{{ my (@pages, @messages); foreach my $detail (@{ $ci->{'details'} }) { - my $diffurl = $config{'diffurl'}; - my $file = $detail->{'file'}; + my $file = $detail->{'file'}; + my $diffurl = $config{'diffurl'}; $diffurl =~ s/\[\[file\]\]/$file/go; $diffurl =~ s/\[\[sha1_parent\]\]/$ci->{'parent'}/go; $diffurl =~ s/\[\[sha1_from\]\]/$detail->{'sha1_from'}/go; -- 2.26.2