Repository navigation
Commit 9a6bc96
fix(gitlab): accept merge request URLs from self-hosted hosts
The GitLab reference pattern required "gitlab" in the hostname and
https, so a pasted merge request URL from a host like
code.example.com or an http-only internal instance parsed to null and
the checkout dialog and branch picker ignored it. The /-/merge_requests/
path is already GitLab's own, so match it on any host, the way the
Forgejo pattern does.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent bd6940b commit 9a6bc96
2 files changed
Lines changed: 8 additions & 2 deletions
File tree
- packages
- client-runtime/src
- source-control-gitlab/src/client
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
119 | 126 | | |
120 | 127 | | |
121 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
0 commit comments