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

Add "refs/"+refname to resolution options #4953

Merged
merged 1 commit into from Jun 29, 2022
Merged

Add "refs/"+refname to resolution options #4953

merged 1 commit into from Jun 29, 2022

Conversation

rotu
Copy link
Contributor

@rotu rotu commented Jun 29, 2022

Fix #2045

Previously, if you wanted to check out a git PR branch, you needed to specify the url as, e.g. github:pnpm/pnpm#refs/pull/4953/merge. Now this will resolve without the leading "refs", i.e. github:pnpm/pnpm#pull/4953/merge

@rotu rotu requested a review from zkochan as a code owner June 29, 2022 19:38
@welcome
Copy link

welcome bot commented Jun 29, 2022

💖 Thanks for opening this pull request! 💖
Please be patient and we will get back to you as soon as we can.

@zkochan
Copy link
Member

zkochan commented Jun 29, 2022

We need a test for this.

And also changesets.

Previously, if you wanted to check out a git PR branch,
you needed to specify the url as:
`github:pnpm/pnpm#refs/pull/123/merge`.
Now this will resolve without the leading "refs":
`github:pnpm/pnpm#pull/123/merge`

Fix #2045
@rotu
Copy link
Contributor Author

rotu commented Jun 29, 2022

We need a test for this.
And also changesets.

@zkochan Done.

@zkochan zkochan enabled auto-merge (squash) June 29, 2022 23:16
@zkochan zkochan merged commit 449ccef into pnpm:main Jun 29, 2022
@welcome
Copy link

welcome bot commented Jun 29, 2022

Congrats on merging your first pull request! 🎉🎉🎉

This was referenced Jun 30, 2022
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.

Installing from GitHub pull request not working
2 participants