diff options
Diffstat (limited to 'Library/Homebrew/cmd/update-ruby.rb')
| -rw-r--r-- | Library/Homebrew/cmd/update-ruby.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/update-ruby.rb b/Library/Homebrew/cmd/update-ruby.rb index 98294bca8..c49de4980 100644 --- a/Library/Homebrew/cmd/update-ruby.rb +++ b/Library/Homebrew/cmd/update-ruby.rb @@ -278,12 +278,7 @@ class Updater @current_revision = read_current_revision - if @initial_branch != @upstream_branch && !@initial_branch.empty? - safe_system "git", "checkout", @initial_branch, *@quiet_args - pop_stash - else - pop_stash_message - end + pop_stash_message end def pop_stash |
