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

Re: [PATCH] Define relative .git/objects/info/alternates semantics.

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Sep 13, 2005, 16:31 UTC
Message-ID
<Pine.LNX.4.63.0509131224290.23242@iabervon.org>
In-Reply-To
<7vk6hl4fd9.fsf_-_@assigned-by-dhcp.cox.net>
On Tue, 13 Sep 2005, Junio C Hamano wrote:
Show 19 quoted lines
> Linus Torvalds <torvalds@osdl.org> writes:
> 
> > Yes. We should probably have some well-defined meaning for relative paths
> > in there regardless (eg just define that they are always relative to the
> > main GIT_OBJECT_DIRECTORY or something).
> >
> > That would also allow mirrors to mirror the git archives in different 
> > places, without upsetting the result (as long as they are mirrored 
> > together).
> >
> > 		Linus
> 
> This patch is request-for-comments.  I have experimented it and
> have a feeling that it may be more intuitive to make it relative
> to $project.git/ directory, instead of $project.git/objects as
> you originally suggested, in which case a maintainer tree would
> have "../../torvalds/linux-2.6.git/objects" instead (one less
> dotdot), and if nobody objects that is probably what I'll end up
> doing.

It seems odd to have the "objects" at the end and not be starting from "objects". I suspect that the most intuitive thing would be for something under $project.git/info to be .git to .git, while something under .git/objects/info should be objects to objects.

	-Daniel
*This .sig left intentionally blank*
Previous: Junio C HamanoNext: H. Peter Anvin
Message 14 of 18 in “Re: What's up with the GIT archive on www.kernel.org?”
  1. Linus TorvaldsSep 11, 2005
  2. Sam RavnborgSep 11, 2005
  3. Linus TorvaldsSep 11, 2005
  4. Roland DreierSep 11, 2005
  5. Linus TorvaldsSep 11, 2005
  6. Linus TorvaldsSep 11, 2005
  7. Junio C HamanoSep 12, 2005
  8. Dmitry TorokhovSep 12, 2005
  9. Ryan AndersonSep 12, 2005
  10. Linus TorvaldsSep 12, 2005
  11. Define relative .git/objects/info/alternates semantics.Junio C Hamano, Sep 13, 2005
  12. Linus TorvaldsSep 13, 2005
  13. Junio C HamanoSep 13, 2005
  14. Daniel BarkalowSep 13, 2005
  15. H. Peter AnvinSep 12, 2005
  16. Tony LuckSep 12, 2005
  17. Linus TorvaldsSep 12, 2005
  18. Junio C HamanoSep 11, 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.