better subjects

master
joey 2006-11-21 04:21:03 +00:00
parent a8c5c8c0ba
commit 77356e8513
3 changed files with 3 additions and 3 deletions

View File

@ -441,7 +441,7 @@ sub rcs_notify () { #{{{
# reassemble into one mail with just the pages subscribed to. # reassemble into one mail with just the pages subscribed to.
my $diff = join "\n", run_or_die('git-diff', "${sha1}^", $sha1); 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) { if (@changed_pages > 2) {
$subject .= "$changed_pages[0] $changed_pages[1] etc"; $subject .= "$changed_pages[0] $changed_pages[1] etc";
} else { } else {

View File

@ -224,7 +224,7 @@ sub rcs_notify () { #{{{
# reassemble into one mail with just the pages subscribed to. # reassemble into one mail with just the pages subscribed to.
my $diff=`svnlook diff $config{svnrepo} -r $rev --no-diff-deleted`; 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) { if (@changed_pages > 2) {
$subject.="$changed_pages[0] $changed_pages[1] etc"; $subject.="$changed_pages[0] $changed_pages[1] etc";
} }

View File

@ -197,7 +197,7 @@ sub rcs_notify () { #{{{
my $revminusone = $changesets[$i+1]; my $revminusone = $changesets[$i+1];
my $diff=`tla diff -d $ENV{ARCH_TREE_ROOT} $revminusone`; 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) { if (@changed_pages > 2) {
$subject.="$changed_pages[0] $changed_pages[1] etc"; $subject.="$changed_pages[0] $changed_pages[1] etc";
} }