reference_rename: fix flaw in force-renaming
reference_rename: fix flaw in force-renaming

reference_rename didn't respect the force flag. Fixed.

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

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