Ditch the attempts at only processing lines that have already been
connected to the starting file. It seemed to be causing more
backtracking than anything else when the history was complex, and
iterating through all files/revisions works just as well and isn't
nearly as prone to duplicating work.