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

Re: Configurable callbacks for missing objects (we Re: upload-pack: support subtree packing)

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Jul 27, 2010, 22:32 UTC
Message-ID
<AANLkTimPVzBN_KaxMpY9NoP+M_WdErh7fT0oyPWGky7m@mail.gmail.com>
In-Reply-To
<20100727185127.GD25124@worldvisions.ca>
2010/7/28 Avery Pennarun <apenwarr@gmail.com>:
Show 8 quoted lines
> But I've been thinking that a really elegant way to solve the problem could
> be to have a user-configurable "get the missing objects" callback.  If any
> part of git that *needs* an object can't find it, it calls this callback to
> go try to retrieve it (either just that one object, or it can request to
> download the object recursively, ie. everything it points to).
>
> Then shallow clones could just auto-fill themselves if you really need a
> prior version, for example.
I think that's what lazy clone does in [1]
[1] http://thread.gmane.org/gmane.comp.version-control.git/73117/focus=73935
-- 
Duy
Previous: Avery PennarunNext: Elijah Newren
Message 6 of 10 in “Subtree clone?”
  1. 0/2 Subtree clone?Nguyễn Thái Ngọc Duy, Jul 26, 2010
  2. 1/2 upload-pack: support subtree packingNguyễn Thái Ngọc Duy, Jul 26, 2010
  3. Ævar Arnfjörð BjarmasonJul 27, 2010
  4. Shawn O. PearceJul 27, 2010
  5. Configurable callbacks for missing objects (we Re: upload-pack: support subtree packing)Avery Pennarun, Jul 27, 2010
  6. Nguyen Thai Ngoc DuyJul 27, 2010
  7. Elijah NewrenJul 28, 2010
  8. Avery PennarunJul 28, 2010
  9. Nguyen Thai Ngoc DuyJul 27, 2010
  10. 2/2 fetch-pack: support --subtree and --commit-subtree optionsNguyễn Thái Ngọc Duy, Jul 26, 2010

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.