Use git_buf in the git request
Use git_buf in the git request

This is clearer and sidesteps the issue of what the return value of
snprintf is on the particular OS we're running on.

Signed-off-by: Carlos Martín Nieto <ab5e2bca84933118bbc9d48ffaccce3bac4eeb64@cmartin.tk>

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