Skip to content

Can't link a patch for download in e-mail format

It is impossible to use patch URL for download in the comment, because GitLab corrupts the link.

For instance, the following comment:

Alice, please, can you download the following patch and let us know, if it fixes the issue for you?
https://gitlab.com/gitlab-org/gitlab-ce/commit/93450d3671f4b9a8733d116fa4dfe6374d614d53.patch

Would render as:

Alice, please, can you download the following patch and let us know, if it fixes the issue for you? [93450d36].patch

where [93450d36] is a link to the commit in GitLab UI.

The Markdown link syntax doesn't work as well:

[https://gitlab.com/gitlab-org/gitlab-ce/commit/93450d3671f4b9a8733d116fa4dfe6374d614d53.patch](https://gitlab.com/gitlab-org/gitlab-ce/commit/93450d3671f4b9a8733d116fa4dfe6374d614d53.patch)

The result is the same:

[93450d36].patch

Design

93450d36 (patch)

(patch) should not be in monospaced font 😉

tooltip stays the commit title

Edited by Dimitrie Hoekstra