Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1085: Gitlab PR has bad link to patch file #1191

wants to merge 2 commits into from
Changes from 1 commit
File filter

Filter by extension

Filter by extension

Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -212,8 +212,10 @@ public URI webUrl(String baseRef, String headRef) {

public URI diffUrl(String prId) {
// GitLab is too smart for it's own best and mangles URLs that contain a
// partial hit with the base MR, hence the double slash.
return URIBuilder.base(gitLabHost.getUri())
.setPath("/" + projectName + "/-/merge_requests/" + prId + ".diff")
.setPath("/" + projectName + "/-/merge_requests//" + prId + ".diff")