diff options
author | Peter Gammie <peteg42@gmail.com> | 2010-10-01 14:08:07 +1000 |
---|---|---|
committer | Peter Gammie <peteg42@gmail.com> | 2010-10-01 14:08:07 +1000 |
commit | 7d1c3aa1cb42f4306535481c009367ffa42c7223 (patch) | |
tree | 2b54edae5c5ad86d740b14ddffddd2434a68fdcb /IkiWiki/Plugin/git.pm | |
parent | 8024a2636feb60026a79715430a66bb572b9eae8 (diff) | |
download | ikiwiki-7d1c3aa1cb42f4306535481c009367ffa42c7223.tar ikiwiki-7d1c3aa1cb42f4306535481c009367ffa42c7223.tar.gz |
Minor tidy-ups.
Diffstat (limited to 'IkiWiki/Plugin/git.pm')
-rw-r--r-- | IkiWiki/Plugin/git.pm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index 46fa7d2e0..457975d95 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -840,7 +840,7 @@ sub rcs_receive () { sub rcs_preprevert (@) { # Determine what the effects are of reverting the patch with the # ID given by 'rev'. Returns the same structure as rcs_receive. - # FIXME note test_changes expects 'cgi' and 'session' parameters. + # Note test_changes expects 'cgi' and 'session' parameters. my %params = @_; my $rev = $params{rev}; @@ -870,10 +870,7 @@ sub rcs_showpatch (@) { my %params = @_; my $rev = $params{rev}; - # FIXME check - my @r = run_or_die('git', 'show', $rev); - - return join "\n", @r; + return join "\n", run_or_die('git', 'show', $rev); } 1 |