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

Re: [PATCH] sequencer.c: abbreviate hashs placed in the middle of messages

From
Junio C Hamano <gitster@pobox.com>
Date
May 8, 2015, 20:24 UTC
Message-ID
<xmqqa8xekeb2.fsf@gitster.dls.corp.google.com>
In-Reply-To
<CAN0XMO+ZY-oXb1aWK3TzUxDRuBEEoasxjdagYQQoB+JVheju9Q@mail.gmail.com>
Ralf Thielow <ralf.thielow@gmail.com> writes:
Show 19 quoted lines
> Junio C Hamano <gitster@pobox.com> wrote:
>
>> And shortening the output feels to me a more expedient thing to do
>> because we do not have to analyse the ramification of possible
>> information loss (your "It has value since...").  If we analyse the
>> issue well, we might realize that there is little point in showing
>> the commit object name in hexadecimal, be it in full or in shortened
>> form.
>>
>> If the proposal were to parrot what the user typed on the command
>> line, e.g. one of these (or their rephrased versions)
>>
>>         error: commit 'next' is a merge but no -m option was given.
>>         error: no -m option was given to pick a merge 'next'.
>>
>> against the above example, then I would say that would be an
>> improvement, but that is not what is being discussed, so...
>
> Commits to be merged don't have to be branches.
I am not sure how that changes anything.
    $ git cherry-pick 38e70713119c25ab5699df6b2fb13e4133d399ab
    error: that commit is a merge and you didn't give me -m <which-parent>
    $ git cherry-pick 38e70713119c25ab5699df6b2fb13e4133d399ab
    error: the commit 38e707... is a merge and you didn't give me -m <which-parent>
Puzzled.
Previous: Ralf ThielowNext: Ralf Thielow
Message 10 of 14 in “sequencer.c: abbreviate hashs placed in the middle of messages”
  1. sequencer.c: abbreviate hashs placed in the middle of messagesRalf Thielow, May 8, 2015
  2. Eric SunshineMay 8, 2015
  3. Ralf ThielowMay 8, 2015
  4. Junio C HamanoMay 8, 2015
  5. Ralf ThielowMay 8, 2015
  6. Junio C HamanoMay 8, 2015
  7. Ralf ThielowMay 8, 2015
  8. Junio C HamanoMay 8, 2015
  9. Ralf ThielowMay 8, 2015
  10. Junio C HamanoMay 8, 2015
  11. Ralf ThielowMay 8, 2015
  12. Matthieu MoyMay 10, 2015
  13. Junio C HamanoMay 10, 2015
  14. Matthieu MoyMay 10, 2015

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.