Linus Torvalds [off-list ref] writes:
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.
Junio?
I think that is a sensible thing to do. I may take a look at it myself
later in the week, unless somebody else (wants to do / does) this first.