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

Re: git-clone --reference problem?

From
Linus Torvalds <torvalds@osdl.org>
Date
Apr 23, 2006, 18:40 UTC
Message-ID
<Pine.LNX.4.64.0604231137580.3701@g5.osdl.org>
In-Reply-To
<Pine.LNX.4.64.0604231122490.3701@g5.osdl.org>
On Sun, 23 Apr 2006, Linus Torvalds wrote:
>
> I also forget whether we decided that non-absolute paths were 
> relative to the $reference directory, or to the $reference/objects/ 
> directory.

Just checked. It should be relative to $reference/objects, and we should strip out lines that start with '#', since we allow comments.

Blah. That whole shell-thing is cerainly convenient for prototyping, but it would be wonderful if we had some enterprising young soul that rewrote these things in C and made them built-ins. It may be wasteful to use C for this, but it would make portability easier, and we have all those nice routines for validating and building alternate db lists already that do it right.

Oh, well.
		Linus
Previous: Linus TorvaldsNext: Junio C Hamano
Message 4 of 5 in “git-clone --reference problem?”
  1. David WoodhouseApr 23, 2006
  2. Junio C HamanoApr 23, 2006
  3. Linus TorvaldsApr 23, 2006
  4. Linus TorvaldsApr 23, 2006
  5. Junio C HamanoApr 24, 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.