Skip to content

Commit

Permalink
Revert "fix get branch to get latest remote (not local) state"
Browse files Browse the repository at this point in the history
This reverts commit 9520573.
  • Loading branch information
mpapis committed Nov 16, 2011
1 parent b43735c commit d2f15f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ get_head()
fi

if ! git branch | grep "\* ${_local_branch}$" >/dev/null &&
! git checkout --force remotes/${_name}/${_branch}
! git checkout --force ${_local_branch}
then
rvm_error "Could not checkout branch ${_local_branch}."
return 6
Expand Down

0 comments on commit d2f15f3

Please sign in to comment.