Add sub-message to a commit

Andrew Eikum aeikum at
Wed Jun 15 09:17:17 CDT 2011

On 06/15/2011 09:09 AM, GOUJON Alexandre wrote:
> I would like to add a 'sub'-message to a commit like this one
> I know that I can specify this text at the beginning of a patch I want
> to send to wine-patches (befor the '---').
> But here, I'm interested in how to do that on the git server side.
> git commit -a or git commit -m let me specify a 'global' commit message.
> I googled some key words and RTFMs but didn't find anything relevant.
> Any hints on how to do that ?

Just include your message in the commit message after your headline. 
That will add the message before the "---", like you said, and then it 
will be imported by git-am (via git-apply), which Julliard uses to 
import commits from mail.

Julliard is in the habit of removing commit messages unless they're 
really informative. So, include your message as usual, and Julliard will 
decide if it's worth leaving in the commit log. If you want to make an 
argument for why to keep the commit message intact, you should add that 
after the "---" so it will still be in the mail, but won't be imported 
by git-am.


More information about the wine-devel mailing list