tree: break out on write error
tree: break out on write error

If write_tree() returs an error, we used to set the error message and
continued looping. Exit the loop so we return the error.

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