Skip to content
Snippets Groups Projects
Commit 3ace10dc authored by Patrick Wendell's avatar Patrick Wendell
Browse files

HOTFIX: Support empty body in merge script

Discovered in #992

Author: Patrick Wendell <pwendell@gmail.com>

Closes #1007 from pwendell/hotfix and squashes the following commits:

af90aa0 [Patrick Wendell] HOTFIX: Support empty body in merge script
parent a6c72ab1
No related branches found
No related tags found
No related merge requests found
......@@ -128,8 +128,9 @@ def merge_pr(pr_num, target_ref):
merge_message_flags = []
for p in [title, body]:
merge_message_flags += ["-m", p]
merge_message_flags += ["-m", title]
if body != None:
merge_message_flags += ["-m", body]
authors = "\n".join(["Author: %s" % a for a in distinct_authors])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment