Skip to content

When splitting lines for the cross-PR checkout also split on \r\n#249

Open
ahoppen wants to merge 1 commit intoswiftlang:mainfrom
ahoppen:cross-pr-line-split
Open

When splitting lines for the cross-PR checkout also split on \r\n#249
ahoppen wants to merge 1 commit intoswiftlang:mainfrom
ahoppen:cross-pr-line-split

Conversation

@ahoppen
Copy link
Member

@ahoppen ahoppen commented Mar 24, 2026

It seems like GitHub sometime in the last year started representing newlines in the PR description using \r\n instead of \n. Respect those as well to split the description into lines and find the linked PR indicator.

For now, a workaround is to put Linked PR: in the first line of the PR description.

It seems like GitHub sometime in the last year started representing newlines in the PR description using \r\n instead of \n. Respect those as well to split the description into lines and find the linked PR indicator.
@ahoppen ahoppen requested a review from a team as a code owner March 24, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants