summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/UserInfo.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/IkiWiki/UserInfo.pm b/IkiWiki/UserInfo.pm
index bbcddb616..9a165dad1 100644
--- a/IkiWiki/UserInfo.pm
+++ b/IkiWiki/UserInfo.pm
@@ -68,7 +68,11 @@ sub is_admin ($) { #{{{
sub commit_notify_list ($@) { #{{{
my $committer=shift;
- my @pages=@_;
+
+ my @pages;
+ foreach my $file (@_) {
+ push @pages, grep { $pagesources{$_} eq $file } keys %pagesources;
+ }
my @ret;
my $userinfo=userinfo_retrieve();