mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-12-18 00:07:51 +02:00
Fix to support creating merge requests for Gitlab/Github repositories cloned with an SSH config alias
This commit is contained in:
committed by
Stefan Haller
parent
0fc8cb35a8
commit
d6ff7f152d
@@ -4,7 +4,7 @@ package hosting_service
|
||||
// at https://regex101.com using the flavor Golang
|
||||
var defaultUrlRegexStrings = []string{
|
||||
`^(?:https?|ssh)://[^/]+/(?P<owner>.*)/(?P<repo>.*?)(?:\.git)?$`,
|
||||
`^.*?@.*:/*(?P<owner>.*)/(?P<repo>.*?)(?:\.git)?$`,
|
||||
`^(.*?@)?.*:/*(?P<owner>.*)/(?P<repo>.*?)(?:\.git)?$`,
|
||||
}
|
||||
var defaultRepoURLTemplate = "https://{{.webDomain}}/{{.owner}}/{{.repo}}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user