Author: adam-guest
Date: 2008-05-01 17:27:25 +0000 (Thu, 01 May 2008)
New Revision: 1415

Modified:
   trunk/debian/changelog
   trunk/scripts/debcommit.pl
Log:
Remove trailing newlines after editing the commit message

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-05-01 17:22:26 UTC (rev 1414)
+++ trunk/debian/changelog      2008-05-01 17:27:25 UTC (rev 1415)
@@ -38,6 +38,7 @@
     + Ignore --confirm and --edit when combined with --diff
     + Fix commit message detection for bzr; thanks Colin Watson
       (Closes: #478667)
+    + Remove trailing newlines after editing the commit message
   * licensecheck: Correctly detect LGPLv3+ (Closes: #477742)
   * tagpending: Use option bundling (so that e.g. "tagpending -ni" works)
   * transition-check: New script to determine whether a set of source packages

Modified: trunk/scripts/debcommit.pl
===================================================================
--- trunk/scripts/debcommit.pl  2008-05-01 17:22:26 UTC (rev 1414)
+++ trunk/scripts/debcommit.pl  2008-05-01 17:27:25 UTC (rev 1415)
@@ -692,6 +692,7 @@
     }
     close FH;
     unlink($tempfile);
+    chomp $message;
     return $message;
 }
 =head1 LICENSE



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to