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

Re: BEWARE: mkdelta is broken

From
Nicolas Pitre <nico@cam.org>
Date
May 27, 2005, 17:37 UTC
Message-ID
<Pine.LNX.4.62.0505271335170.16151@localhost.localdomain>
In-Reply-To
<20050527094133.GR24351@cip.informatik.uni-erlangen.de>
On Fri, 27 May 2005, Thomas Glanzmann wrote:
Show 14 quoted lines
> Hello,
> 
> > The current delta loop detection logic is broken.  So if you have 
> > multiple merged branches or you have a changeset that revert things then 
> > you might end up with a delta loop and fsck-cache will effectively 
> > complain about unresolved deltas and assorted dangling/broken object 
> > links.
> 
> I wanted to give you heads-up, but I forgot it. But I think noone is
> using it at the moment otherwise they had complained in the first place.
> 
> However ... I took linux-2.6 repository. Ran git-deltafy-script &&
> git-deltafy-script -d 0 and it segfaulted on me. Same for my mutt-cvs
> import.

Yes, that's because you end up with delta loops. When trying to expand the delta, it keeps looping and allocating memory until killed.

I fixed that already and am preparing a patch at the moment.
Nicolas
Previous: Thomas GlanzmannNext: Thomas Glanzmann
Message 3 of 4 in “BEWARE: mkdelta is broken”
  1. Nicolas PitreMay 27, 2005
  2. Thomas GlanzmannMay 27, 2005
  3. Nicolas PitreMay 27, 2005
  4. Thomas GlanzmannMay 27, 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.