From: Loeliger Jon-LOELIGER Date: Fri, 08 Jun 2007 15:57:31 GMT Subject: RE: clarify git clone --local --shared --reference Message-ID: In-Reply-To: <20070608053750.GB18521@spearce.org> Shawn O. Pearce wrote: > > Brandon Casey wrote: > > ok. I just want to make sure this is not really about prune'ing. > > > > In the following, source and --shared repos are identical except... > > 1) Source repo contains loose objects which are new commits. > > --shared repo does git-pull. > > we fast-forward, copying very little. > > success. > > Copying nothing actually. All of the objects required are in the > source repository, so --shared needs nothing additional. So the thing I find myself wanting to do is A "crib from local copy". That is, the network Cost is large, so when cloning point to a local (ie, already on same Filesystem) clone that is Similar, use it as a reference, but, in the end, Create a complete copy into the new repository. I don't want it hard linked with --local. I don't want it shared with --shared. I don't want it as an altrnate source with --reference. What I want is a new, clean, complete, unshared repository. But for efficiency reasons, I want to grab objects From a different, filesystem-local clone if possible. Does that work? jdl