git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How to clone-pack the HEAD?

From
Petr Baudis <pasky@suse.cz>
Date
Dec 15, 2005, 01:59 UTC
Message-ID
<20051215015944.GE10680@pasky.or.cz>
In-Reply-To
<7vpsnzrv43.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Thu, Dec 15, 2005 at 02:45:32AM CET, I got a letter where Junio C Hamano <junkio@cox.net> said that...

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.

Ah, play with the words. Sure I'm cloning - however I'm not cloning a repository but a branch. In Cogito world, that's the only thing that makes sense to clone, in GIT world it's more complicated (you don't always clone the whole repository there either, since git-clone-pack lets you narrow down the refs).

> Extending git-fetch-pack would be the right approach if that is
> what you are trying to do.

I'll then try to extend git-fetch-pack instead. I'll send some fix for git-clone-pack anyway, though. ;-)

-- 
				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.
Previous: Petr Baudis
Message 10 of 10 in “How to clone-pack the HEAD?”
  1. Petr BaudisDec 15, 2005
  2. Junio C HamanoDec 15, 2005
  3. Petr BaudisDec 15, 2005
  4. Junio C HamanoDec 15, 2005
  5. Junio C HamanoDec 15, 2005
  6. Junio C HamanoDec 15, 2005
  7. Junio C HamanoDec 15, 2005
  8. Petr BaudisDec 18, 2005
  9. Petr BaudisDec 18, 2005
  10. Petr BaudisDec 15, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.