Commit a817993439733dd6cd45fed82ddb7f145b1602d9

Authored by Marin Jankovski
1 parent fa7d7573

Remove outdated comments.

Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
lib/gitlab/satellite/merge_action.rb
... ... @@ -146,8 +146,6 @@ module Gitlab
146 146 repo.remote_fetch('source')
147 147 repo.git.checkout(default_options({b: true}), merge_request.target_branch, "origin/#{merge_request.target_branch}")
148 148 else
149   - # We can't trust the input here being branch names, we can't always check it out because it could be a relative ref i.e. HEAD~3
150   - # we could actually remove the if true, because it should never ever happen (as long as the satellite has been prepared)
151 149 repo.git.checkout(default_options, "#{merge_request.source_branch}")
152 150 repo.git.checkout(default_options({t: true}), "origin/#{merge_request.target_branch}")
153 151 end
... ...