summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorMazhar Zandsalimi <m47h4r@gmail.com>2023-05-22 07:39:47 +0330
committerMazhar Zandsalimi <m47h4r@gmail.com>2023-05-22 07:39:47 +0330
commit59379b45da57b8359d5f271a3447ec54273da3e2 (patch)
tree9f57e4055b6b5f4e6525991f6c373d46fb6dcfdc /pkg
parent2d4ca2b54fe2b365381a188a6d1bc4cc3eb61f1b (diff)
Update gitlab commit URL to match new routing
Diffstat (limited to 'pkg')
-rw-r--r--pkg/commands/hosting_service/definitions.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/hosting_service/definitions.go b/pkg/commands/hosting_service/definitions.go
index b98c89708..63a1b818f 100644
--- a/pkg/commands/hosting_service/definitions.go
+++ b/pkg/commands/hosting_service/definitions.go
@@ -35,7 +35,7 @@ var gitLabServiceDef = ServiceDefinition{
provider: "gitlab",
pullRequestURLIntoDefaultBranch: "/-/merge_requests/new?merge_request[source_branch]={{.From}}",
pullRequestURLIntoTargetBranch: "/-/merge_requests/new?merge_request[source_branch]={{.From}}&merge_request[target_branch]={{.To}}",
- commitURL: "/commit/{{.CommitSha}}",
+ commitURL: "/-/commit/{{.CommitSha}}",
regexStrings: defaultUrlRegexStrings,
repoURLTemplate: defaultRepoURLTemplate,
}