Fix mark_parents() to account for bad luck traversals
Fix mark_parents() to account for bad luck traversals

If commit timestamps are off, we're more likely to hit a traversal
where the first path ends up traversing past the root commit of the tree.
If that happens, it's possible that the loop will complete before the second
path marks some of those final parents. This fix keeps track of the root
nodes that are encountered in the traversal, and verify that they are
properly marked.

In the best case, with accurate timestamps, the traversal will continue
to terminate when all the commits are STALE (parents of a merge-base), as
it did before. In the worst case, where one path makes a complete traversal
past a root commit, we will continue the loop until the root commit itself
is marked.

raybrad/libit2,magnus98/TEST,iankronquist/libgit2,maxiaoqian/libgit2,t0xicCode/libgit2,linquize/libgit2,kenprice/libgit2,MrHacky/libgit2,mcanthony/libgit2,Tousiph/Demo1,spraints/libgit2,yosefhackmon/libgit2,whoisj/libgit2,magnus98/TEST,yosefhackmon/libgit2,mrksrm/Mingijura,swisspol/DEMO-libgit2,yongthecoder/libgit2,sygool/libgit2,spraints/libgit2,sygool/libgit2,maxiaoqian/libgit2,Corillian/libgit2,yosefhackmon/libgit2,since2014/libgit2,mingyaaaa/libgit2,mhp/libgit2,whoisj/libgit2,Snazz2001/libgit2,claudelee/libgit2,rcorre/libgit2,mingyaaaa/libgit2,joshtriplett/libgit2,kenprice/libgit2,sim0629/libgit2,KTXSoftware/libgit2,jflesch/libgit2-mariadb,evhan/libgit2,rcorre/libgit2,mrksrm/Mingijura,amyvmiwei/libgit2,ardumont/libgit2,evhan/libgit2,skabel/manguse,MrHacky/libgit2,Snazz2001/libgit2,swisspol/DEMO-libgit2,amyvmiwei/libgit2,saurabhsuniljain/libgit2,dleehr/libgit2,chiayolin/libgit2,swisspol/DEMO-libgit2,amyvmiwei/libgit2,rcorre/libgit2,Corillian/libgit2,chiayolin/libgit2,nokiddin/libgit2,raybrad/libit2,kenprice/libgit2,oaastest/libgit2,jflesch/libgit2-mariadb,falqas/libgit2,mcanthony/libgit2,t0xicCode/libgit2,t0xicCode/libgit2,jamieleecool/ptest,joshtriplett/libgit2,spraints/libgit2,stewid/libgit2,Tousiph/Demo1,MrHacky/libgit2,nokiddin/libgit2,mcanthony/libgit2,mingyaaaa/libgit2,yosefhackmon/libgit2,ardumont/libgit2,evhan/libgit2,Aorjoa/libgit2_maked_lib,sim0629/libgit2,falqas/libgit2,zodiac/libgit2.js,saurabhsuniljain/libgit2,mingyaaaa/libgit2,raybrad/libit2,magnus98/TEST,mhp/libgit2,sygool/libgit2,sim0629/libgit2,falqas/libgit2,mrksrm/Mingijura,sygool/libgit2,yongthecoder/libgit2,spraints/libgit2,jeffhostetler/public_libgit2,yongthecoder/libgit2,mcanthony/libgit2,linquize/libgit2,sygool/libgit2,kenprice/libgit2,jflesch/libgit2-mariadb,falqas/libgit2,sygool/libgit2,Corillian/libgit2,claudelee/libgit2,zodiac/libgit2.js,Tousiph/Demo1,joshtriplett/libgit2,raybrad/libit2,dleehr/libgit2,leoyanggit/libgit2,Tousiph/Demo1,Snazz2001/libgit2,maxiaoqian/libgit2,iankronquist/libgit2,leoyanggit/libgit2,maxiaoqian/libgit2,Aorjoa/libgit2_maked_lib,mhp/libgit2,ardumont/libgit2,ardumont/libgit2,linquize/libgit2,saurabhsuniljain/libgit2,Corillian/libgit2,linquize/libgit2,magnus98/TEST,dleehr/libgit2,skabel/manguse,MrHacky/libgit2,whoisj/libgit2,oaastest/libgit2,Corillian/libgit2,oaastest/libgit2,Tousiph/Demo1,sim0629/libgit2,claudelee/libgit2,nokiddin/libgit2,sim0629/libgit2,mrksrm/Mingijura,rcorre/libgit2,nokiddin/libgit2,claudelee/libgit2,JIghtuse/libgit2,Snazz2001/libgit2,iankronquist/libgit2,oaastest/libgit2,swisspol/DEMO-libgit2,mingyaaaa/libgit2,KTXSoftware/libgit2,Aorjoa/libgit2_maked_lib,swisspol/DEMO-libgit2,jflesch/libgit2-mariadb,evhan/libgit2,jeffhostetler/public_libgit2,joshtriplett/libgit2,Tousiph/Demo1,mhp/libgit2,dleehr/libgit2,linquize/libgit2,jeffhostetler/public_libgit2,skabel/manguse,sim0629/libgit2,t0xicCode/libgit2,since2014/libgit2,mhp/libgit2,skabel/manguse,kissthink/libgit2,Corillian/libgit2,mingyaaaa/libgit2,yosefhackmon/libgit2,chiayolin/libgit2,yongthecoder/libgit2,KTXSoftware/libgit2,Snazz2001/libgit2,JIghtuse/libgit2,jamieleecool/ptest,dleehr/libgit2,kenprice/libgit2,claudelee/libgit2,jamieleecool/ptest,KTXSoftware/libgit2,whoisj/libgit2,amyvmiwei/libgit2,nokiddin/libgit2,whoisj/libgit2,stewid/libgit2,zodiac/libgit2.js,JIghtuse/libgit2,skabel/manguse,spraints/libgit2,saurabhsuniljain/libgit2,magnus98/TEST,Aorjoa/libgit2_maked_lib,jflesch/libgit2-mariadb,jeffhostetler/public_libgit2,jeffhostetler/public_libgit2,raybrad/libit2,JIghtuse/libgit2,Snazz2001/libgit2,JIghtuse/libgit2,mhp/libgit2,stewid/libgit2,jflesch/libgit2-mariadb,yongthecoder/libgit2,kissthink/libgit2,joshtriplett/libgit2,amyvmiwei/libgit2,yongthecoder/libgit2,mcanthony/libgit2,stewid/libgit2,stewid/libgit2,kissthink/libgit2,since2014/libgit2,mrksrm/Mingijura,swisspol/DEMO-libgit2,zodiac/libgit2.js,saurabhsuniljain/libgit2,falqas/libgit2,Aorjoa/libgit2_maked_lib,iankronquist/libgit2,chiayolin/libgit2,since2014/libgit2,KTXSoftware/libgit2,rcorre/libgit2,skabel/manguse,stewid/libgit2,maxiaoqian/libgit2,dleehr/libgit2,whoisj/libgit2,MrHacky/libgit2,zodiac/libgit2.js,KTXSoftware/libgit2,ardumont/libgit2,falqas/libgit2,jeffhostetler/public_libgit2,nokiddin/libgit2,iankronquist/libgit2,jamieleecool/ptest,claudelee/libgit2,amyvmiwei/libgit2,t0xicCode/libgit2,iankronquist/libgit2,mcanthony/libgit2,saurabhsuniljain/libgit2,MrHacky/libgit2,rcorre/libgit2,yosefhackmon/libgit2,mrksrm/Mingijura,joshtriplett/libgit2,leoyanggit/libgit2,JIghtuse/libgit2,leoyanggit/libgit2,oaastest/libgit2,chiayolin/libgit2,maxiaoqian/libgit2,oaastest/libgit2,kissthink/libgit2,ardumont/libgit2,t0xicCode/libgit2,leoyanggit/libgit2,magnus98/TEST,since2014/libgit2,kenprice/libgit2,chiayolin/libgit2,linquize/libgit2,leoyanggit/libgit2,kissthink/libgit2,kissthink/libgit2,since2014/libgit2,spraints/libgit2