You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Daniel Shahaf (äñ§€¥£¢ JIRA)" <ji...@apache.org> on 2017/11/07 11:09:00 UTC

[jira] [Commented] (SVN-4704) Commit messages entered via en editor should not end with a newline

    [ https://issues.apache.org/jira/browse/SVN-4704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241835#comment-16241835 ] 

Daniel Shahaf (äñ§€¥£¢) commented on SVN-4704:
----------------------------------------------

What you're asking for is already the case: in Vim, if I delete the "--This line..ignored--" line and do ':set bin noeol', the resulting log message has no newlines (checked with 'svn propget --strict' or 'svn log').  This has been the behaviour since time immemorial.  I suggest that you follow up on the mailing list (https://subversion.apache.org/mailing-lists#users-ml) or with your $EDITOR's support channels.  In the future, please discuss bugs on users@ before filing them (that's a long-standing project policy). Good luck!

> Commit messages entered via en editor should not end with a newline
> -------------------------------------------------------------------
>
>                 Key: SVN-4704
>                 URL: https://issues.apache.org/jira/browse/SVN-4704
>             Project: Subversion
>          Issue Type: Bug
>            Reporter: Francesco Mari
>
> When performing a plain {{svn commit}}, the system-defined editor is executed to edit the commit message. This brings up a file with the following content.
> {noformat}
> --This line, and those below, will be ignored--
> M    src/modified.c
> {noformat}
> When the commit message is typed before the line beginning with the dashes, the resulting commit message will have a terminating newline. This is clearly visible from {{svn log}}. I also tried to remove everything from the template file, and leave only the commit message. My editor is configured to not automatically append a newline to the final line, but even in this case the commit message terminates with a newline.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)