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

Just a note: .git/refs/snap/ is not standard

From
Junio C Hamano <junkio@cox.net>
Date
May 2, 2005, 01:54 UTC
Message-ID
<7vacneqtn8.fsf@assigned-by-dhcp.cox.net>
Linus, 
    not that there is any "de facto" or any standard there, but
the name .git/refs/snap/ you lifted from the vicinity thing is
not something Cogito folks have.  My understanding is of their
concensus is that .git/refs have single level subdirectories
like 'heads' and 'tags', and there will be little 41-byte text
files that look like .git/HEAD.  So you probably would want to
either (1) readdir in .git/refs (to future proof) or (2) drop
refs/snap from the vicinity list for now (to not give special
treatment to JIT, which I myself do not mind ;-)).  Also if you
go route (2) drop "refs" itself as well.
Next: Daniel Barkalow
Message 1 of 2 in “Just a note: .git/refs/snap/ is not standard”
  1. Junio C HamanoMay 2, 2005
  2. Daniel BarkalowMay 2, 2005

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.