Remove extra git_index_read from the tests
Remove extra git_index_read from the tests

When you open an index with git_index_open, the file is read before
the function returns. Thus, calling git_index_read after that is
useless.

Signed-off-by: Carlos Martín Nieto <eecb638c0e60875b4a70118790d5be43bb59c2d6@elego.de>

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