Make git_index_read_tree preserve stat cache
Make git_index_read_tree preserve stat cache

Instead of just blowing away the stat cache data when loading a
new tree into the index, this checks if each loaded item has a
corresponding existing item with the same OID and if so, copies
the stat data from the old item to the new one so it will not be
blown away.

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