Add test case checking renaming of a branch to a new name prefixed with the old name succeeds, e.g. refs/heads/foo -> refs/heads/foo/bar
Add test case checking renaming of a branch to a new name prefixed with
the old name succeeds, e.g. refs/heads/foo -> refs/heads/foo/bar

Reported-by: nulltoken <5c2a3aceccd8e4113da9a6e4300e530dcd2bb52d@gmail.com>
Signed-off-by: schu <90bd52136ce4791fcc41c69bf9bb6c7db1f385bd@schulog.org>

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