From d887beddab2db961e3d6e04cdf90c1b305bc0764 Mon Sep 17 00:00:00 2001 From: Tim Jaacks <tim.jaacks@garz-fricke.com> Date: Tue, 29 Jun 2021 19:25:59 +0200 Subject: [PATCH] list_commits: replace "---" with "--" GitLab renders "---" as a horizontal line or as a frame. We do not want this, so replace it with "--". --- common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.py b/common.py index 4b7e1f74..4cdc05fb 100755 --- a/common.py +++ b/common.py @@ -110,7 +110,7 @@ def list_commits(commits): """Create a list of commits along with the commit messages""" commit_list = "" for commit in commits: - commit_list += "\n---\n\nCommit: %s\n\n%s" % (commit.web_url, commit.message) + commit_list += "\n--\n\nCommit: %s\n\n%s" % (commit.web_url, commit.message) return commit_list -- GitLab