Go-To-Gitlab button doesn't link correctly to line number or commit range, similar to #294
Created by: vanesa
Steps to reproduce:
- Open https://sourcegraph.com/gitlab.com/gitlab-org/gitlab-runner@fix/process-killing-bug/-/blob/.codeclimate.yml#L10 .
- Click on the 'Open on GitLab' icon
Expected behavior:
Actual behavior:
Opens https://sourcegraph.com/gitlab.com/gitlab-org/gitlab-runner@fix/process-killing-bug/-/blob/.codeclimate.yml, so doesn't link to the line.
With the commit range:
Steps to reproduce:
- Open https://sourcegraph.com/gitlab.com/gitlab-org/gitlab-runner/-/compare/...process-killing-bug
- Click on the 'Open on GitLab' icon
Expected behavior:
Opens https://gitlab.com/gitlab-org/gitlab-runner/compare/master...process-killing-bug