cherry-pick -x formats the message incorrectly
- From
- Martin Svensson <martin.k.svensson@netinsight.se>
- Date
- Nov 16, 2010, 09:14 UTC
- Message-ID
- <loom.20101116T100730-967@post.gmane.org>
Hello,
I have a problem with the commit message format for "cherry-pick -x": Given a commit with the message:
foo
, i.e. with only a summary part, I do "git cherry-pick -x the_commit". The result is a new commit with message
foo (cherry picked from commit eb42a6475d2c2e4fff7a1b626ce6e27eec21e886)
Now that's not good, because it is a two-line summary. In my opinion, the parentheses should _always_ end up in the detailed part. It should be:
foo (cherry picked from commit eb42a6475d2c2e4fff7a1b626ce6e27eec21e886)
Am I right?
/Martin Svensson, SW Developer