From 59379b45da57b8359d5f271a3447ec54273da3e2 Mon Sep 17 00:00:00 2001 From: Mazhar Zandsalimi Date: Mon, 22 May 2023 07:39:47 +0330 Subject: [PATCH] Update gitlab commit URL to match new routing --- pkg/commands/hosting_service/definitions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }