Author: adam-guest
Date: 2008-03-17 18:34:13 +0000 (Mon, 17 Mar 2008)
New Revision: 1159
Modified:
trunk/debian/changelog
trunk/scripts/bts.pl
Log:
bts: Only append a single ellipsis to the mail subject once it becomes
too long, rather than for each extra command (Closes: #471304)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-03-17 18:29:50 UTC (rev 1158)
+++ trunk/debian/changelog 2008-03-17 18:34:13 UTC (rev 1159)
@@ -1,5 +1,7 @@
devscripts (2.10.20) UNRELEASED; urgency=low
+ * bts: Only append a single ellipsis to the mail subject once it becomes
+ too long, rather than for each extra command (Closes: #471304)
* checkbashisms:
+ Make --version actually produce version information
+ Fix explanation of VAR+=foo
Modified: trunk/scripts/bts.pl
===================================================================
--- trunk/scripts/bts.pl 2008-03-17 18:29:50 UTC (rev 1158)
+++ trunk/scripts/bts.pl 2008-03-17 18:34:13 UTC (rev 1159)
@@ -1867,7 +1867,7 @@
elsif (length($subject) + length($_[0]) < 100) {
$subject .= ", $_[0]";
}
- else {
+ elsif ($subject !~ / ...$/) {
$subject .= " ...";
}
$body .= "$comment[$index]\n" if $comment[$index];
--
To unsubscribe, send mail to [EMAIL PROTECTED]