Re: epic fsck SIGSEGV! (was Recovering from epic fail (deleted .git/objects/pack))
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Dec 11, 2008, 03:28 UTC
- Message-ID
- <alpine.LFD.2.00.0812101854230.3340@localhost.localdomain>
- In-Reply-To
- <alpine.LFD.2.00.0812102031440.14328@xanadu.home>
On Wed, 10 Dec 2008, Nicolas Pitre wrote:
Show 9 quoted lines
> On Wed, 10 Dec 2008, Linus Torvalds wrote: > > > But we should definitely fix this braindamage in fsck. Rather than > > recursively walk the commits, we should add them to a commit list and just > > walk the list iteratively. > > What about: > > http://marc.info/?l=git&m=122889563424786&w=2
Not very pretty. The basic notion is ok, but wouldn't it be nicer to at least use a "struct object_array" instead?
Let me try to cook something up.
Linus