• Mark Chao's avatar
    Fix commit with two parents is set with wrong direct_ancestor · c6c53d1c
    Mark Chao authored
    If a commit has two parents, one is direct ancestor, and one is not,
    and the order of `commits` is in such fashion that the non-ancestor
    side is visited first, the commit would be determined as non-ancestor,
    when in fact it can be.
    
    Therefore we should first determine all direct ancestors
    prior to analyzing.
    c6c53d1c