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: only strip optional '.git' suffix from https server remote name and not 'Xgit' #1257

Merged
merged 1 commit into from Sep 28, 2022

Conversation

campersau
Copy link
Contributor

By escaping the . in the regex.

I think the bug got introduced by #1153

Fixes #1256

@peter-evans
Copy link
Owner

peter-evans commented Sep 28, 2022

/test repository=campersau/create-pull-request ref=striponly.git build=true

Command run output

@peter-evans
Copy link
Owner

Thank you for this fix!

@peter-evans peter-evans merged commit ddab646 into peter-evans:main Sep 28, 2022
4 checks passed
@campersau campersau deleted the striponly.git branch September 28, 2022 04:05
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.

Create Pull Request does not work when repository name ends in Xgit
2 participants