Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite8325b5

Browse files
claudiahdzisaacs
authored andcommitted
fix: updated pathmatch for gitlab
PR-URL:#51Credit:@mikemimikClose:#51Reviewed-by:@isaacs
1 parent4e4ea0f commite8325b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git-host-info.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var gitHosts = module.exports = {
2525
'bugstemplate':'https://{domain}/{user}/{project}/issues',
2626
'httpstemplate':'git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}',
2727
'tarballtemplate':'https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}',
28-
'pathmatch':/^[/]([^/]+)[/](?!.*\/-\/)(.+?)(?:[.]git|[/])?$/
28+
'pathmatch':/^[/]([^/]+)[/]((?!.*(\/-\/|\/repository\/archive\.tar\.gz\?=.*|\/repository\/[^/]+\/archive.tar.gz$)).*?)(?:[.]git|[/])?$/
2929
},
3030
gist:{
3131
'protocols':['git','git+ssh','git+https','ssh','https'],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp