mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-12 16:46:25 -04:00
fix(bitbucket): fix bitbucket PR creation error due improper query params
This commit is contained in:
parent
722239abd1
commit
29d09c9c53
|
|
@ -28,8 +28,8 @@ var githubServiceDef = ServiceDefinition{
|
|||
|
||||
var bitbucketServiceDef = ServiceDefinition{
|
||||
provider: "bitbucket",
|
||||
pullRequestURLIntoDefaultBranch: "/pull-requests/new?source={{.From}}&t=1",
|
||||
pullRequestURLIntoTargetBranch: "/pull-requests/new?source={{.From}}&dest={{.To}}&t=1",
|
||||
pullRequestURLIntoDefaultBranch: "/pull-requests/new?source={{.From}}",
|
||||
pullRequestURLIntoTargetBranch: "/pull-requests/new?source={{.From}}&dest={{.To}}",
|
||||
commitURL: "/commits/{{.CommitHash}}",
|
||||
urlRegexps: []*regexp.Regexp{
|
||||
regexp.MustCompile(`^(?:https?|ssh)://.*/(?P<owner>.*)/(?P<repo>.*?)(?:\.git)?$`),
|
||||
|
|
|
|||
Loading…
Reference in a new issue