Re: [QUESTION] Access to a huge GIT repository.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 22, 2005, 09:50 UTC
- Message-ID
- <7vfyppf1va.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <cda58cb80511220122r76ca69a2y@mail.gmail.com>
Franck <vagabon.xyz@gmail.com> writes:
Show 11 quoted lines
> 2005/11/21, Junio C Hamano <junkio@cox.net>: >> Franck <vagabon.xyz@gmail.com> writes: >> >> > ... But since I used grafting to "cut" >> > my light repo and .git/info/grafts file is not copied during >> > push/pull/clone operations it's not going to work. Is it a scheme that >> > could work ? >> >> If you tell your downloaders that your repository is incomplete >> and they need to have at least up to such and such commits from >> another repository, they should be able to slurp from you.
I was not talking about _your_ case specifically. If you happen to have based your partial history on top of a single commit then the set of "such and such commits" might be only one, but you could for example clone from Linus tip, merge in a couple of jgarzik branch heads, put your own commits on top of them and then cauterize your history, stopping at those foreign commits. In such a case you obviously need to tell others where you chopped your history off.