From e3b1530f504e00396510d4379c7a990df14cce37 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 04 2018 09:31:53 +0000 Subject: Do not convert to markdown commit messages Fixes https://pagure.io/pagure/issue/3088 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/lib/git.py b/pagure/lib/git.py index 040ac83..d6afe98 100644 --- a/pagure/lib/git.py +++ b/pagure/lib/git.py @@ -1538,7 +1538,7 @@ def diff_pull_request( if i.oid.hex == request.commit_stop: break new_commits_count = new_commits_count + 1 - commenttext = '%s * %s\n' % ( + commenttext = '%s * ``%s``\n' % ( commenttext, i.message.strip().split('\n')[0]) if new_commits_count == 1: commenttext = "**%d new commit added**\n\n%s" % (