Move core.abbrev lookup out of diff print loop
Move core.abbrev lookup out of diff print loop

This moves the GIT_CVAR_ABBREV lookup out of the loop.  Also, this
fixes git_diff_print_raw to actually use that constant instead of
hardcoding 7 characters.

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