All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Svensson <martin.k.svensson@netinsight.se>
To: git@vger.kernel.org
Subject: cherry-pick -x formats the message incorrectly
Date: Tue, 16 Nov 2010 09:14:15 +0000 (UTC)	[thread overview]
Message-ID: <loom.20101116T100730-967@post.gmane.org> (raw)

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

             reply	other threads:[~2010-11-16  9:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16  9:14 Martin Svensson [this message]
2010-11-16 19:20 ` cherry-pick -x formats the message incorrectly Junio C Hamano
2010-11-16 19:35   ` Jonathan Nieder
2010-11-16 21:34     ` Jonathan Nieder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20101116T100730-967@post.gmane.org \
    --to=martin.k.svensson@netinsight.se \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.