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

Re: [RFC] Design of name-addressed data portion

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Apr 24, 2005, 23:12 UTC
Message-ID
<Pine.LNX.4.21.0504241903500.30848-100000@iabervon.org>
In-Reply-To
<200504250058.15901.FabianFranz@gmx.de>
On Mon, 25 Apr 2005, Fabian Franz wrote:
Show 11 quoted lines
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am Sonntag, 24. April 2005 20:17 schrieb Daniel Barkalow:
> > I'd propose the following structure:
> >
> > [...]
> >    tags/     the tags
> >      ...     files with the symbolic name of the tags, containing the hash
> 
> Couldn't you use symbolic or hard links here and in references/?

For most uses of the refs/ directory (of which tags/ is a subdirectory), we want to get from it the hash, not just the contents of the referenced object, and we potentially want to get the hash from something like a web server. Finding out what http://.../foo.git/refs/heads/DEFAULT is a symlink (or, wrose, hard link) to so that you can decide if it's different from what you have would be a major pain.

	-Daniel
*This .sig left intentionally blank*
Previous: Fabian Franz
Message 5 of 5 in “[RFC] Design of name-addressed data portion”
  1. Daniel BarkalowApr 24, 2005
  2. Petr BaudisApr 24, 2005
  3. Daniel BarkalowApr 24, 2005
  4. Fabian FranzApr 24, 2005
  5. Daniel BarkalowApr 24, 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.