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

Re: Porcelain specific metadata under .git?

From
Andreas Ericsson <ae@op5.se>
Date
Jun 14, 2006, 11:11 UTC
Message-ID
<448FEED7.30701@op5.se>
In-Reply-To
<20060614062240.GA13886@spearce.org>
Shawn Pearce wrote:
Show 13 quoted lines
> 
> I already assume/know that refs/heads and refs/tags are completely
> off-limits as they are for user refs only.
> 
> I also think the core GIT tools already assume that anything
> directly under .git which is strictly a file and which is named
> entirely with uppercase letters (aside from "HEAD") is strictly a
> temporary/short-lived state type item (e.g. COMMIT_MSG) used by a
> Porcelain.
> 
> But is saying ".git/refs/eclipse-workspaces" is probably able to
> be used for this purpose safe?  :-)
> 
.git/eclipse/whatever-you-like

would probably be better. Heads can be stored directly under .git/refs too. Most likely, nothing will ever be stored under ./git/eclipse by either core git or the current (other) porcelains though.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Shawn PearceNext: Jakub Narebski
Message 2 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.