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

Strip '@' symbols when merging pull requests.

Currently all of the commits with 'X' in them cause person X to
receive e-mails every time someone makes a public fork of Spark.

marmbrus who requested this.

Author: Patrick Wendell <pwendell@gmail.com>

Closes #1239 from pwendell/strip and squashes the following commits:

22e5a97 [Patrick Wendell] Strip '@' symbols when merging pull requests.
parent 62d4a0fa
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,9 @@ def merge_pr(pr_num, target_ref):
merge_message_flags += ["-m", title]
if body != None:
merge_message_flags += ["-m", body]
# We remove @ symbols from the body to avoid triggering e-mails
# to people every time someone creates a public fork of Spark.
merge_message_flags += ["-m", body.replace("@", "")]
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