bugfix
authorJoey Hess <joey@kitenet.net>
Sat, 23 Oct 2010 20:31:58 +0000 (16:31 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 23 Oct 2010 20:31:58 +0000 (16:31 -0400)
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 ($) {