Re: How to clone-pack the HEAD?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 15, 2005, 01:53 UTC
- Message-ID
- <7vlkynrurh.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <7vpsnzrv43.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 7 quoted lines
> Petr Baudis <pasky@suse.cz> writes: > >> Except that I cannot do the guessing git-clone-pack does (without >> fetching all the branches) > > Exactly my point. If you are not getting all the branches, you > are not cloning but doing something else.
Not really. I take this back. What you want to do I did not understand well enough.
HEAD is kinda special. A hack I can think of is to do ls-remote first and do the guess clone-pack does for full clone case, and then give a specific branch name to clone. That might work.