[DRBD-cvs] CVSROOT by lars; Update of /var/lib/cvs/drbd/CVSROOT In d...
drbd-user@lists.linbit.com
drbd-user@lists.linbit.com
Fri, 16 Jan 2004 20:31:15 +0100 (CET)
DRBD CVS committal
Author : lars
Module : CVSROOT
Dir : CVSROOT
Modified Files:
commit.pl
Log Message:
addendum: strip until actual log message for subject line :)
===================================================================
RCS file: /var/lib/cvs/drbd/CVSROOT/commit.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- commit.pl 16 Jan 2004 19:11:29 -0000 1.2
+++ commit.pl 16 Jan 2004 19:31:15 -0000 1.3
@@ -52,7 +52,8 @@
# a little more informative subject line
$maxlen = 40;
-for ( $i=0, $add_subject = "";
+for ($i=0; $input[$i] !~ /^Log Message:/ and $i < @input; $i++) {};
+for ( $i++, $add_subject = "";
length $add_subject < $maxlen and $i < @input;
$i++ )
{