Skip to content

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

Merged
zkochan merged 1 commit into
pnpm:mainfrom
rotu:patch-1
Jun 29, 2022
Merged

Add "refs/"+refname to resolution options#4953
zkochan merged 1 commit into
pnpm:mainfrom
rotu:patch-1

Conversation

@rotu

@rotu rotu commented Jun 29, 2022

Copy link
Copy Markdown
Contributor

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

welcome Bot commented Jun 29, 2022

Copy link
Copy Markdown

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

@zkochan

zkochan commented Jun 29, 2022

Copy link
Copy Markdown
Member

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

rotu commented Jun 29, 2022

Copy link
Copy Markdown
Contributor Author

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

welcome Bot commented Jun 29, 2022

Copy link
Copy Markdown

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