You are not doing anything wrong: --compose tells git send-email that you want to write a "cover letter" with the subject that you gave with --subject . The actual commit will be sent in response to this βcover letter,β with the first line of the commit message being the subject.
This is the "standard format", which is understood as git am , so that the recipient can apply the patch and get the same result. This means that changing the subject of the patch message will change the commit message : your recipient will receive another commit, which is probably not what you want.
If you really want to send the commit via email using a custom object, you can prepare your patch using git format-patch and then attach it to an email written in your regular MUA. So the receiver can git am insert.
source share