git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] cherry-pick -x: improve handling of one-liner commit messages

From
Brandon Casey <drafnel@gmail.com>
Date
Mar 29, 2013, 17:41 UTC
Message-ID
<CA+sFfMet0578rLwAKBBsd8DM3thsw=8+joEAAf44TzwqUZgXzw@mail.gmail.com>
In-Reply-To
<7v8v56p1bl.fsf@alter.siamese.dyndns.org>
On Fri, Mar 29, 2013 at 10:23 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> Miklos Vajna <vmiklos@suse.cz> writes:
>
>> git cherry-pick -x normally just appends the "cherry picked from commit"
>> line at the end of the message, which is fine. However, in case the
>> original commit message had only one line, first append a newline,
>> otherwise the second line won't be empty, which is against
>> recommendations.
>> ---
>
> Sign-off?
>
> I think this is part of the bc/append-signed-off-by topic that is
> about to graduate to 'master'; more specifically, b971e04f54e7
> (sequencer.c: always separate "(cherry picked from" from commit
> body, 2013-02-12) does the equivalent, no?
Yeah, I think this case is already handled.
Miklos, can you check out next and see if your problem case is handled?
-Brandon
Previous: Junio C HamanoNext: Miklos Vajna
Message 3 of 5 in “cherry-pick -x: improve handling of one-liner commit messages”
  1. cherry-pick -x: improve handling of one-liner commit messagesMiklos Vajna, Mar 29, 2013
  2. Junio C HamanoMar 29, 2013
  3. Brandon CaseyMar 29, 2013
  4. Miklos VajnaMar 29, 2013
  5. Junio C HamanoMar 29, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.