Re: [PATCH] rev-list: add "--full-objects" flag.
- From
Eric W. Biederman <ebiederm@xmission.com>
- Date
- Jul 11, 2005, 15:19 UTC
- Message-ID
- <m1irzh74m0.fsf@ebiederm.dsl.xmission.com>
- In-Reply-To
- <Pine.LNX.4.58.0507101517370.17536@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 14 quoted lines
> On Sat, 9 Jul 2005, Eric W. Biederman wrote: >> >> The current intelligent fetch currently has a problem that it cannot >> be used to bootstrap a repository. If you don't have an ancestor >> of what you are fetching you can't fetch it. > > Sure you can. > > See the current "git clone". It's actually quite good, it's a pleasure to > use now that it gives updates on how much it has done. > > Just do > > git clone src dest
Sorry, somehow I just missed that, and then I noticed just a little before you sent out your email.
I'm having the worst time putting together a mental model of how git works, and the documentation is spotty enough that it hasn't been helpful. So I am wading through the code. It seems every time I turn a corner there is another rough spot.
I guess I was expecting to pull from one tree into another unrelated tree. Getting a tree with two heads and then be able to merge them together.
A couple of questions.
1) Does git-clone-script when packed copy the entire repository or just take a couple of slices of the tree where you have references?
2) Is there a way for a pack to create deltas against objects that are not in the tree? For a dumb repository making incremental changes this is ideal.
Eric