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

Re: Git without morning coffee

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 7, 2011, 17:35 UTC
Message-ID
<7v62l445nw.fsf@alter.siamese.dyndns.org>
In-Reply-To
<7vehzs47we.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 8 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes:
>
>> git merge ":/Merge branch 'jk/generation-numbers' into pu"
>> fatal: ':/Merge branch 'jk/generation-numbers' into pu' does not point
>> to a commit
>> # Huh?
>
> Interesting.

This is because 1c7b76b (Build in merge, 2008-07-07) grabs the name of the commit to be merged using peel_to_type(), which was defined in 8177631 (expose a helper function peel_to_type()., 2007-12-24) in terms of get_sha1_1(). It understands $commit~$n, $commit^$n and $ref@{$nth}, but does not understand :/$str, $treeish:$path, and :$stage:$path.

Previous: Michael WittenNext: Junio C Hamano
Message 6 of 8 in “Git without morning coffee”
  1. Michael J GruberSep 7, 2011
  2. Junio C HamanoSep 7, 2011
  3. Michael WittenSep 7, 2011
  4. Junio C HamanoSep 7, 2011
  5. Michael WittenSep 7, 2011
  6. Junio C HamanoSep 7, 2011
  7. Re* Git without morning coffeeJunio C Hamano, Sep 7, 2011
  8. Michael J GruberSep 7, 2011

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.