]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/git.pm
bugfix
[ikiwiki.git] / IkiWiki / Plugin / git.pm
index 892b711d8e871b3a24ade2f5e13287d88f06140c..f8e16859bed71d28d3dbd6b5ee3a5877782450a2 100644 (file)
@@ -848,8 +848,9 @@ sub rcs_preprevert ($) {
        # in order to see all changes.
        my ($subdir, $rootdir) = git_find_root();
        $git_dir=$rootdir;
-       return git_parse_changes(git_commit_info($sha1, 1));
+       my @ret=git_parse_changes(git_commit_info($sha1, 1));
        $git_dir=undef;
+       return @ret;
 }
 
 sub rcs_revert ($) {