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

Re: [PATCH] allow OFS_DELTA objects during a push

From
Shawn O. Pearce <spearce@spearce.org>
Date
May 4, 2009, 22:11 UTC
Message-ID
<20090504221129.GF23604@spearce.org>
In-Reply-To
<alpine.LFD.2.00.0905011616130.6741@xanadu.home>
Nicolas Pitre <nico@cam.org> wrote:
> The fetching of OFS_DELTA objects has been negotiated between both peers 
> since git version 1.4.4.  However, this was missing from the push side 
> where every OFS_DELTA objects were always converted to REF_DELTA objects 
> causing an increase in transferred data.
Folks, this may have broken git push for me.

I'm trying to debug it right now, but something in next between 46488d2 and 03e1664 has caused "git push" to not create a pack file, sending the remote peer 0 objects, when really we should have transmitted objects, e.g. in the case I just looked at, we should have sent 11.

FWIW, I'm currently blaming this change as its the only thing to touch builtin-send-pack.c in that commit range. :-)

/me goes off to debug this further...
 
>  builtin-receive-pack.c |   22 +++++++++++++++-------
>  builtin-send-pack.c    |    8 +++++++-
>  send-pack.h            |    1 +
>  3 files changed, 23 insertions(+), 8 deletions(-)
-- 
Shawn.
Previous: Nicolas PitreNext: Shawn O. Pearce
Message 15 of 16 in “Weird growth in packfile during initial push”
  1. Robin H. JohnsonApr 15, 2009
  2. Nicolas PitreApr 15, 2009
  3. Junio C HamanoApr 29, 2009
  4. Nicolas PitreApr 30, 2009
  5. Robin H. JohnsonMay 1, 2009
  6. allow OFS_DELTA objects during a pushNicolas Pitre, May 1, 2009
  7. Junio C HamanoMay 1, 2009
  8. Compatibility between git.git and jgitShawn O. Pearce, May 2, 2009
  9. A Large Angry SCMMay 2, 2009
  10. Nicolas PitreMay 2, 2009
  11. Shawn O. PearceMay 2, 2009
  12. Ealdwulf WuffingaMay 2, 2009
  13. Michael WittenMay 2, 2009
  14. Nicolas PitreMay 2, 2009
  15. Shawn O. PearceMay 4, 2009
  16. Shawn O. PearceMay 4, 2009

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.