]> git.proxmox.com Git - libgit2.git/commit
refspec: a ref name includes the refs/ prefix
authorCarlos Martín Nieto <carlos@cmartin.tk>
Tue, 31 Jan 2012 16:21:49 +0000 (17:21 +0100)
committerCarlos Martín Nieto <carlos@cmartin.tk>
Tue, 31 Jan 2012 16:29:53 +0000 (17:29 +0100)
commit279afd2a514160754eeba8e5db84600486f70761
tree418280985b624d9b005db6a1ec9d56c5efda3329
parentf25cc58d5cd630aa379bf894c5b78feb824bb647
refspec: a ref name includes the refs/ prefix

git_refspec_transform_r assumed that the reference name passed would
be only a branch or tag name. This is not the case, and we need to
take into consideration what's in the refspec's source to know how
much of the prefix to ignore.
src/refspec.c
tests-clar/network/remotes.c