Skip to content

Commit d8f6352

Browse files
authored
Merge pull request davidrjonas#42 from xurizaemon/gitlab-compare-url
Update Gitlab compare URL for Gitlab v16
2 parents 3c39a39 + 2b645cd commit d8f6352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer-lock-diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ function formatCompareGitlab($url, $from, $to) {
294294
$url = preg_replace('/^git@(gitlab\.[^:]+):/', 'https://$1/', $url);
295295
}
296296
$url = preg_replace('/\.git$/', '', $url);
297-
return sprintf('%s/compare/%s...%s', $url, urlencode($from), urlencode($to));
297+
return sprintf('%s/-/compare/%s...%s', $url, urlencode($from), urlencode($to));
298298
}
299299

300300
function formatCompareDrupal($url, $from, $to) {

0 commit comments

Comments
 (0)