forked from lix-project/lix
fb38459d6e
As `git fetch` may chose to interpret refspec to it's liking, ensure that we only pass refs that begin with `refs/` as is, otherwise, prepend them with `refs/heads`. Otherwise, branches named `heads/foo` (I know it's bad, but it's allowed), would be fetched as `foo`, instead of `heads/foo`. |
||
---|---|---|
.. | ||
attrs.cc | ||
attrs.hh | ||
cache.cc | ||
cache.hh | ||
fetchers.cc | ||
fetchers.hh | ||
git.cc | ||
github.cc | ||
local.mk | ||
mercurial.cc | ||
path.cc | ||
tarball.cc | ||
tree-info.cc | ||
tree-info.hh |