[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Broken log message in fresh CVS

From: Alexey Mahotkin
Subject: Broken log message in fresh CVS
Date: Sun, 3 Jun 2001 12:52:15 +0400 (MSD)


why ever does fresh CVS add an empty line in the beginning of log
message no more???? :( 

2001-04-16  Larry Jones  <larry.jones@sdrc.com>

        * logmsg.c (do_editor): Don't add a blank line to the message.
        * sanity.sh (editor-log-file*): Update to match.

Sorry, I've probably missed the discussion of rationale beyond that
fact.  It's very annoying to constantly monitor yourself when typing
appropriate letter in vi when using fresh CVS at home and older one at

Larry, whom did it bothered?

cvs-nserver will come with that patch forever :)

Index: logmsg.c
RCS file: /home/cvsroot/cvs/src/logmsg.c,v
retrieving revision
diff -u -u -r1.1.1.4 logmsg.c
--- logmsg.c    2001/05/19 12:05:04
+++ logmsg.c    2001/06/03 08:42:46
@@ -207,6 +207,8 @@
            (*messagep)[strlen (*messagep) - 1] != '\n')
            (void) fprintf (fp, "\n");
+    else
+       (void) fprintf (fp, "\n");
     if (repository != NULL)
        /* tack templates on if necessary */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]