Skip to content

Stop Repository#fetch_remote from using Gitlab::Shell

Nick Thomas requested to merge (removed):unindirect-fetch-remote into master

What does this MR do?

Noticed while working on https://gitlab.com/gitlab-org/gitlab-ce/issues/49565

Repository#fetch_remote indirects through gitlab-shell, but doesn't need to, since it's now an unconditionally Gitaly operation.

Removing the indirection and cleaning up the code a little saves a whole line of code 😱 and makes the code a little easier to follow.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Nick Thomas

Merge request reports