Thread (1 message) 1 message, 1 author, 2016-06-15

Re: How to clone-pack the HEAD?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:14

Junio C Hamano [off-list ref] writes:
Petr Baudis [off-list ref] writes:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help