Re: Configurable callbacks for missing objects (we Re: upload-pack: support subtree packing)
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