Links and trailers adhere in a single commit message line

Summary

Links just before commit message trailers are not separated from trailers.

Steps to reproduce

  1. Create a commit with some message as follows and push to the GitLab:
commit f680aa1ba48828d4b5663ccc85b62e970e46473d (HEAD)
Author: Takuya Noguchi <hacker@example.com>
Date:   Sun Feb 3 00:00:00 2019 +0000

    https://example.com

    Signed-off-by: Takuya Noguchi <hacker@example.com>
  1. Go to the commit page on GitLab.

Example Project

  • https://gitlab.com/gitlab-org/gitlab-docs/tree/f680aa1ba48828d4b5663ccc85b62e970e46473d (confirmed with EE 11.7.3 but addressed by EE 12.8))
  • https://gitlab.com/gitlab-org/gitlab-docs/-/commits/f680aa1ba48828d4b5663ccc85b62e970e46473d (confirmed as of EE 12.8)

What is the current bug behavior?

commit-message-trailers

What is the expected correct behavior?

commit-message-trailers-to-be

Output of checks

This bug happens on GitLab.com (11.7.3-ee).

Possible fixes

TODO


The original feature relevant to this bug was made in gitlab-foss!17919 (merged).

Edited Aug 14, 2020 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading