You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Francesco Mari (JIRA)" <ji...@apache.org> on 2017/11/07 11:02:00 UTC

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

Francesco Mari created SVN-4704:
-----------------------------------

             Summary: 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)