Skip to content

How to (temporary) depend on a dangling commit (from a pull request)? #11720

Answered by stof
ruudk asked this question in Q&A / Support
Discussion options

You must be logged in to vote

The commit-pinning feature is an installer-level hack changing which commit gets downloaded. It has no way to be taken into account by the solver because composer repositories don't create versions for each commit (this would make composer consume TB of memory quite quickly).

If you want to use a version from a different branch properly, there is no other way than registering the fork as a repository and requiring the version for the branch you want to use.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ruudk
Comment options

Answer selected by ruudk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants