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