Skip to content

Fix missing Git clone button when protocol restriction setting enabled

Stan Hu requested to merge sh-fix-http-clone-panel into master

If Git clones are restricted to either HTTP or SSH-only in the application settings, the clone button would not show. The refactoring in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22196 broke this.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55676

Merge request reports