From 77356e851352d763542e0cb65c19edc5edafdccb Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 21 Nov 2006 04:21:03 +0000 Subject: [PATCH] better subjects --- IkiWiki/Rcs/git.pm | 2 +- IkiWiki/Rcs/svn.pm | 2 +- IkiWiki/Rcs/tla.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/IkiWiki/Rcs/git.pm b/IkiWiki/Rcs/git.pm index 868bec40d..5f4b090c3 100644 --- a/IkiWiki/Rcs/git.pm +++ b/IkiWiki/Rcs/git.pm @@ -441,7 +441,7 @@ sub rcs_notify () { #{{{ # reassemble into one mail with just the pages subscribed to. my $diff = join "\n", run_or_die('git-diff', "${sha1}^", $sha1); - my $subject = "$config{wikiname} update of "; + my $subject="update of $config{wikiname}'s "; if (@changed_pages > 2) { $subject .= "$changed_pages[0] $changed_pages[1] etc"; } else { diff --git a/IkiWiki/Rcs/svn.pm b/IkiWiki/Rcs/svn.pm index 71189c82e..f4c8e92c6 100644 --- a/IkiWiki/Rcs/svn.pm +++ b/IkiWiki/Rcs/svn.pm @@ -224,7 +224,7 @@ sub rcs_notify () { #{{{ # reassemble into one mail with just the pages subscribed to. my $diff=`svnlook diff $config{svnrepo} -r $rev --no-diff-deleted`; - my $subject="$config{wikiname} update of "; + my $subject="update of $config{wikiname}'s "; if (@changed_pages > 2) { $subject.="$changed_pages[0] $changed_pages[1] etc"; } diff --git a/IkiWiki/Rcs/tla.pm b/IkiWiki/Rcs/tla.pm index 00ee7e7a0..9cd795e31 100644 --- a/IkiWiki/Rcs/tla.pm +++ b/IkiWiki/Rcs/tla.pm @@ -197,7 +197,7 @@ sub rcs_notify () { #{{{ my $revminusone = $changesets[$i+1]; my $diff=`tla diff -d $ENV{ARCH_TREE_ROOT} $revminusone`; - my $subject="$config{wikiname} update of "; + my $subject="update of $config{wikiname}'s "; if (@changed_pages > 2) { $subject.="$changed_pages[0] $changed_pages[1] etc"; } -- 2.26.2