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

Re: [PATCH 0/2] thin-pack capability for send-pack/receive-pack

From
Carlos Martín Nieto <cmn@elego.de>
Date
Nov 6, 2013, 21:41 UTC
Message-ID
<1383774082.2850.10.camel@centaur.cmartin.tk>
In-Reply-To
<xmqqbo1x8e60.fsf@gitster.dls.corp.google.com>
On Wed, 2013-11-06 at 12:32 -0800, Junio C Hamano wrote:
Show 13 quoted lines
> I'll queue these for now, but I doubt the wisdom of this series,
> given that the ship has already sailed long time ago.
> 
> Currently, no third-party implementation of a receiving end can
> accept thin push, because "thin push" is not a capability that needs
> to be checked by the current clients.  People will have to wait
> until the clients with 2/2 patch are widely deployed before starting
> to use such a receiving end that is incapable of "thin push".
> 
> Wouldn't the world be a better place if instead they used that time
> waiting to help such a third-party receiving end to implement "thin
> push" support?
> 

Support in the code isn't always enough. The particular case that brought this on is one where the index-pack implementation can deal with thin packs just fine.

This particular service takes the pack which the client sent and does post-processing on it to store it elsewhere. During the receive-pack equivalent, there is no git object db that it can query for the missing base objects. I realise this is pretty a unusual situation.

Cheers,
   cmn
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 10 in “thin-pack capability for send-pack/receive-pack”
  1. 0/2 thin-pack capability for send-pack/receive-packCarlos Martín Nieto, Nov 6, 2013
  2. 1/2 receive-pack: advertise thin-packCarlos Martín Nieto, Nov 6, 2013
  3. 2/2 send-pack: only send a thin pack if the server supports itCarlos Martín Nieto, Nov 6, 2013
  4. Junio C HamanoNov 6, 2013
  5. Carlos Martín NietoNov 6, 2013
  6. Junio C HamanoNov 6, 2013
  7. Jeff KingNov 6, 2013
  8. Shawn PearceNov 6, 2013
  9. Shawn PearceNov 6, 2013
  10. Carlos Martín NietoNov 23, 2013

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.