[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH][REPOST] Don't add extra blank line to log messages

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-03-27 19:53:17 CET

On Mar 26, 2004, at 2:20 PM, Patrik Rådman wrote:

> Hi,
>
> I didn't receive any comments to the first posting of this patch, so
> here
> it is again, this time with commented code, and a better explanation:
> :)
>
> If you commit with 'svn ci . -m "Oneliner comment"' you get this:
>
> -----------------------------------------------------------------------
> -
> r18 | patrik | 2004-03-26 20:52:58 +0200 (Fri, 26 Mar 2004) | 1 line
>
> Oneliner comment
> -----------------------------------------------------------------------
> -
>
> ...but if you enter the log message via $EDITOR, you get this:
>
> -----------------------------------------------------------------------
> -
> r19 | patrik | 2004-03-26 20:53:45 +0200 (Fri, 26 Mar 2004) | 2 lines
>
> Oneliner comment
>
> -----------------------------------------------------------------------
> -
>
> The patch below removes the extra blank line.

Ironically, I always go out of my way to add the extra newline when
specifying my commit message on the command line because I think it
looks nicer in the log output ;-)

So yeah, I'd rather just leave it the way it is, or if I thought I
could get away with it I'd love to add the newline at the end of
whatever we got from the command line.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 27 19:53:40 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.