Skip to content

Correctly display commit messages for GPG-signed commits

This MR fixes commit messages previews for GPG-signed commits.

Before:

image

After:

image

Note: in long-term perspective this could be fixed by updating rugged gem. I tested latest version and it didn't include GPG-related stuff in commit.message property (which fixed the issue). But since this dependency hasn't been updated since 2012 it can't be upgraded "as is" and requires some changes in Repo#sync implementation so I propose this MR as a temporary fix (until the big plan #1 (closed) is done).

Merge request reports