wayneeseguin/rvm — Issue #712: Installing "head" of a branch breaks head for future "master" use
Author: headius
Created: 2012-01-21 18:10:24+00:00
State: open

If you do something like this:

```
rvm install jruby-head --branch jruby-1_6
```

And later try to put jruby-head back to "master" like this:

```
rvm reinstall jruby-head
```

It breaks the "jruby-head" install completely. It appears that in the second case, it attempts to merge in or rebase the "master" branch, forgetting that it's not actually on master to begin with. If that merge/rebase fails, then the repo is in an unusable state.