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

Re: cg-pull to pull branches, not the whole repository

From
Junio C Hamano <junkio@cox.net>
Date
Sep 14, 2005, 22:05 UTC
Message-ID
<7vu0gne25j.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1126733516.10827.54.camel@dv>
Pavel Roskin <proski@gnu.org> writes:
> ...  Unfortunately, listings are
> still needed to get refs/tags and refs/heads.  Any fix for that would
> involve git core, and I don't see an elegant fix.

All the necessary "core" support should already be there, except for the client side support. Please look at yesterday's thread with title "dumb transports not being welcomed".

Show 5 quoted lines
> For git+ssh protocol, git-fetch-pack already provides a server side
> solution.  Client side support would be needed for http and rsync.
>
> I'd like to hear comments before I attempt any hacking in this
> direction.

Personally I think Cogito should be able to just call git-fetch to implement cg-pull -- I do not claim the current git-fetch has everything needed (incapable of using objects/info/alternates is an example), but we should be able to fix and enhance just one program to make everybody happy, not two.

Previous: Pavel RoskinNext: Pavel Roskin
Message 2 of 4 in “cg-pull to pull branches, not the whole repository”
  1. Pavel RoskinSep 14, 2005
  2. Junio C HamanoSep 14, 2005
  3. Pavel RoskinSep 16, 2005
  4. Petr BaudisSep 14, 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.