Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: How to clone-pack the HEAD?

From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:15

Possibly related (same subject, not in this thread)

Dear diary, on Thu, Dec 15, 2005 at 06:29:10AM CET, I got a letter
where Junio C Hamano [off-list ref] said that...
Junio C Hamano [off-list ref] writes:
quoted
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.
... and another way would be to do this; I'll put this (with
fixes if there is some needed) in "master" tonight.
Thanks! This makes it work very nicely and exactly the way I want, even
giving git-fetch-pack-compatible output so I can seamlessly switch
between the two commands. Very nice!

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help