Author: adam-guest
Date: 2008-03-21 10:23:06 +0000 (Fri, 21 Mar 2008)
New Revision: 1179

Modified:
   trunk/scripts/debcommit.pl
Log:
Don't strip hg summary lines, just unfold them

Modified: trunk/scripts/debcommit.pl
===================================================================
--- trunk/scripts/debcommit.pl  2008-03-21 00:18:32 UTC (rev 1178)
+++ trunk/scripts/debcommit.pl  2008-03-21 10:23:06 UTC (rev 1179)
@@ -621,9 +621,9 @@
                    $summary =~ s/(^\* .*?)^\s*[\*\+-] .*/$1/ms;
                    # Unfold
                    $summary =~ s/\n\s+/ /mg;
-                   $summary =~ s/^\* // if $prog eq 'git' or $stripmessage;
 
                    if ($prog eq 'git') {
+                       $summary =~ s/^\* //;
                        $ret = $summary . "\n" . $ret;
                    } else {
                        # Strip off the first change so that we can prepend



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

Reply via email to