aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/git.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/git.pm')
-rw-r--r--IkiWiki/Plugin/git.pm7
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