dl_git: checking out git tag (Bug #413)
In dl_git, when checking out a tag on initial clone,
git checkout -b $GIT_TAG origin/$GIT_TAG
is run, but that doesn't seem to checkout the tag. i.e.
git clone git://anongit.kde.org/strigi strigi Cloning into 'strigi'... git checkout -b v0.7.7 origin/v0.7.7 fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'origin/v0.7.7' which can not be resolved as commit?
Shouldn't a simple "git checkout $GIT_TAG" or "git checkout -b $GIT_TAG $GIT_TAG" be done instead? Or was this done for a specific reason?