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

[PATCH 0/2] Support for transferring pack files in git-ssh-*

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jul 4, 2005, 18:48 UTC
Message-ID
<Pine.LNX.4.21.0507041416240.30848-100000@iabervon.org>

This series allows git-ssh-* to transfer objects packed into pack files in the case of updating a ref file. It is a proof-of-concept for transferring pack files in any situation where it's useful.

The general method is that the fetch() method has the option of additionally getting other objects in addition to the one specified; objects which aren't needed are specified with dont_fetch() (when it makes sense to exclude them). In this version, it only excludes an object when it is the current value of a ref file that is being updated, but further exclusions are clearly possible.

In the case of git-ssh-*, the target specifies objects to exclude, and the source responds (asynchronously) with whether or not it knows how to exclude them (i.e., whether or not it has them). If the target has gotten an object excluded, it requests a pack file instead of a single object, and the source provides all objects referenced from the given hash, excluding those specified for exclusion.

	-Daniel
*This .sig left intentionally blank*
Next: Daniel Barkalow
Message 1 of 3 in “Support for transferring pack files in git-ssh-*”
  1. 0/2 Support for transferring pack files in git-ssh-*Daniel Barkalow, Jul 4, 2005
  2. 1/2 Specify object not useful to pullDaniel Barkalow, Jul 4, 2005
  3. 2/2 Pull well-bounded pack files over sshDaniel Barkalow, Jul 4, 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.