From a88c7d32d16cf6e7e7fe49dddb89d786e6948b0b Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Wed, 22 Apr 2026 17:57:52 +0200 Subject: [PATCH] Revert "changelog-generator: Emit markdown bullets without leading tabs" This reverts commit 6c0b7f9ac6630c459a46dc9ece8c247f6f661db8. The 3.24.x ChangeLog file is still in the legacy tab-indented format, so the generator needs to keep emitting tab-prefixed bullets on this branch. The markdown conversion was only done on master and 3.27.x. Signed-off-by: Lars Erik Wik --- misc/changelog-generator/changelog-generator | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/changelog-generator/changelog-generator b/misc/changelog-generator/changelog-generator index 8e5f310740..469cd1e1d8 100755 --- a/misc/changelog-generator/changelog-generator +++ b/misc/changelog-generator/changelog-generator @@ -254,12 +254,12 @@ for sha_entry in ENTRIES: if SORT_CHANGELOG: entry_list.sort() for entry in entry_list: - entry = "- " + entry + entry = "\t- " + entry # Blank lines look bad in changelog because entries don't have blank lines # between them, so remove that from commit messages. entry = re.sub("\n\n+", "\n", entry) - # Indent continuation lines to align with the bullet text. - entry = entry.replace("\n", "\n ") + # Indent all lines. + entry = entry.replace("\n", "\n\t ") print(entry) for missed in POSSIBLE_MISSED_TICKETS: