Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dev/merge_arrow_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,9 @@ def extract_co_authors(commit):
commit_title = f'{self.title} (#{self.number})'
commit_message_chunks = []
if self.body is not None:
commit_message_chunks.append(self.body)
# avoid github user name references by inserting a space after @
body = re.sub(r"@(\w+)", "@ \\1", self.body)
commit_message_chunks.append(body)

committer_name = run_cmd("git config --get user.name").strip()
committer_email = run_cmd("git config --get user.email").strip()
Expand Down