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

Re: Porcelain specific metadata under .git?

From
Junio C Hamano <junkio@cox.net>
Date
Jun 14, 2006, 13:30 UTC
Message-ID
<7vpshbeug6.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<44900A2F.7050704@op5.se>
Andreas Ericsson <ae@op5.se> writes:
> Yes, but I understood him to mean "it's a tree-sha" instead of a
> branch/head thing, which would mean it doesn't fit the .git/refs
> definition of ref.

I am not sure what you meant by "it's a tree-sha", but if you have an impression that .git/refs define "ref" as committish, you are mistaken. Linus has .git/refs/tags/v2.6.11-tree which tags a tree object. I even have a .git/refs/tags/junio-gpg-pub which tags a blob (blobish ;-> ?).

Previous: Andreas EricssonNext: Shawn Pearce
Message 5 of 6 in “Porcelain specific metadata under .git?”
  1. Shawn PearceJun 14, 2006
  2. Andreas EricssonJun 14, 2006
  3. Jakub NarebskiJun 14, 2006
  4. Andreas EricssonJun 14, 2006
  5. Junio C HamanoJun 14, 2006
  6. Shawn PearceJun 17, 2006

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.