summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-10-23 16:31:58 -0400
committerJoey Hess <joey@kitenet.net>2010-10-23 16:31:58 -0400
commit62a0f2f3d65aa86996f11a01cadb88380ba3d4e4 (patch)
treeb742d051cea10116ab1554641aa81c5950ce21c9
parent45fac6dabf394d2b9bfdfd4026b4823dc6cc6308 (diff)
bugfix
-rw-r--r--IkiWiki/Plugin/git.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm
index 892b711d8..f8e16859b 100644
--- a/IkiWiki/Plugin/git.pm
+++ b/IkiWiki/Plugin/git.pm
@@ -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 ($) {