From ca5775952eec82b3510fc17969d8e26cdd1767fb Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Mon, 9 Jun 2025 09:43:27 +0200 Subject: [PATCH] ci/check-cherry-picks: fix indent of truncation marker This needs to be indented the same way as the remaining code-block, otherwise the `` is not rendered correctly. --- ci/check-cherry-picks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/check-cherry-picks.sh b/ci/check-cherry-picks.sh index 6036d5a1529a..51efb543ad3f 100755 --- a/ci/check-cherry-picks.sh +++ b/ci/check-cherry-picks.sh @@ -121,7 +121,7 @@ while read -r new_commit_sha ; do # consider this too unlikely to happen, to deal with explicitly. max_length=10000 if [ "${#diff}" -gt $max_length ]; then - printf -v diff "%s\n\n[...truncated...]" "$(echo "$diff" | head -c $max_length | head -n-1)" + printf -v diff "%s\n>\n> [...truncated...]" "$(echo "$diff" | head -c $max_length | head -n-1)" fi echo "$diff" >> $markdown_file echo '> ```' >> $markdown_file