diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-10-21 22:59:18 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-10-21 22:59:18 +0000 |
commit | cadfac387cd2a206a195d4e425536163a5a9a333 (patch) | |
tree | d814ebdbb188c214b20cc5ae2ac76ed8e80ec4ec /IkiWiki | |
parent | 19cfec2654924b8834d6d582966e3cc8875a8c9d (diff) |
minor stylistic changes
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Rcs/git.pm | 9 |
1 files 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; |