"second line is not empty" error in commit message

23 views
Skip to first unread message

Günter Zöchbauer

unread,
Oct 18, 2024, 6:31:55 AM10/18/24
to StGit (Stacked Git)
I just started with stgit and the Magit integration.

When I create a new patch an editor shows up as it does without stgit for commits,
I enter a title, an empty line and additional text.


Patch:  dummy
Author: Guenter Zoechbauer <m...@email.com>
Date:   2024-10-18 12:26:19 +0200

Title

some additional text

# Please enter the message for your patch. Lines starting with
# '#' will be ignored. An empty message aborts the new patch.
# The patch name and author information may also be modified.


When I commit with C-c C-C I get the error message 


Second line is not empty.  Commit anyway? (y or n)


The created commit and patch contain the title and content exactly as I entered it.
When I edit the patch and commit without change, I get the same error message.

Has anyone seen such behavior or any idea how to solve that?
Reply all
Reply to author
Forward
0 new messages