Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: parsing git.branch includes carriage returns #597

Merged
merged 1 commit into from
Mar 6, 2021

Conversation

steveukx
Copy link
Owner

@steveukx steveukx commented Mar 6, 2021

Closes #596
Closes #500

…s in the commit detail.

Adds the `/s` modifier to the regular expression used to match the branch detail, allowing carriage returns in the commit summary for the branch to be included in the match.
@steveukx steveukx merged commit 3145793 into main Mar 6, 2021
@steveukx steveukx deleted the fix/branch-names-including-carriage-returns branch March 6, 2021 19:39
This was referenced Mar 8, 2021
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.

Get current branch returns empty string git.branch results missing some branch name
1 participant