Re: [PATCH 3/3] clone: add `--seed` shorthand
- From
Jeff King <peff@peff.net>
- Date
- May 22, 2015, 06:49 UTC
- Message-ID
- <20150522064922.GA27716@peff.net>
- In-Reply-To
- <1be7702fa53d1705e913aff2e00eac21@www.dscho.org>
On Fri, May 22, 2015 at 08:37:56AM +0200, Johannes Schindelin wrote:
Show 9 quoted lines
> > +--seed <repository|bundle>:: > > + Fetch objects from <repository> or <bundle> instead of the clone > > URL when possible. This is useful when a (possibly partial) clone > > already exists locally, to avoid transferring the same objects again. > > > > I haven't checked if the invocation would accept a bundle filename, > > but I'm presuming it can in the same way that clone does. > > The proof would lie in the pudding ;-) Would you mind testing whether it works with bundles?
I can't imagine that it would with my patch. The implementation is based on --reference, which is going to try to set up the bundle as an alternate.
Having slept on it, I really think "--seed" should be "fetch from the seed into temp refs", and not what I posted earlier.
-Peff