basho/rebar — Issue #195: rebar deps </3 git tags
Author: lenary
Created: 2012-02-28 01:21:42+00:00
State: open

I've been having a problem with rebar and git tags this evening.

It seems if you specify a tag as the last element of the 3-tuple that usually looks like `{git, , }` then in fact it doesn't always check out that tab. I had a few instances this evening when it would *create* a branch with the tag name I had supplied for `` and then check that out, (pointing it at master). Instead it should have checked out the git tag I specified.

To fix this manually, i had to cd to the dependency directory, check out master, then `git branch -D ` (which deletes the branch of the same name as the tag, but doesn't affect the tag) and then use `git checkout `. If I went straight for the second command, git helpfully gave me an error saying that the string i specified was ambiguous (and took me to the branch).