Use GIT_IDXENTRY_STAGE macro
Use GIT_IDXENTRY_STAGE macro

Since I added the GIT_IDXENTRY_STAGE macro to extract the stage
from a git_index_entry, we probably don't need an internal inline
function to do the same thing.

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