add newlines around <pre> tags for pushed commits (#68506)

This commit is contained in:
Frédéric Péters 2022-08-29 14:11:02 +02:00
parent 2ab097211a
commit b619a60691
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ def merge_and_push(issue, validate_msg, target_branch):
except IndexError:
raise click.UsageError('%r is not a local branch.' % target_branch)
notes = '<pre>%s</pre>' % repo.git.log('%s..' % target_branch)
notes = '<pre>\n%s\n</pre>' % repo.git.log('%s..' % target_branch)
if validate_msg:
for commit in get_commits(repo, target_branch):