From 09eb4bcfa363e2674a6986cebaf5d6eba7c8fdd7 Mon Sep 17 00:00:00 2001 From: Tim Jaacks <tim.jaacks@garz-fricke.com> Date: Tue, 29 Jun 2021 21:27:49 +0200 Subject: [PATCH] list_commits: use "--" as separator Unfortunately, GitLab still interpreted three of the four dashes as start and end of YAML syntax, so we go back to two dashes. --- common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.py b/common.py index 5418e0ec..f716d685 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