Bugs: Browse | Submit New | Admin
The Vlad::Git.checkout method clones a git repository and checkout a branch (named a ’revision’) with the command: git checkout -f -b deployed-#{revision} #{revision} The problem is that after having cloned a repository, all remote branches are not checked out in the local repository. To checkout them and make them ‘synchronous’, the following command must be used: git checkout -f -b #{my-branch} origin/#{my-branch} So, we have to patch Vlad to call the later command, i.e.: git checkout -f -b deployed-#{revision} origin/#{revision}
Add A Comment:
Date: 2009-03-06 00:20 Sender: Ryan Davis 1) you don't have to patch vlad at all. you can monkey patch it just fine. 2) I don't (or try not to, I should say) use git, but the person who wrote git.rb uses it all the time, so I'll have him look at your bug, but I believe there was a reason for his logic. 3) I'm looking for maintainers for all of the non-default modules If the original author can't take it over, are you interested?