How do you deal with new dependencies on an older pull request in GitHub
When you have to update a branch that already has an existing pull request but has become dependent on a future branch
See Awfully crafted flow chart
Details:
So lets say you make
feature 1 --> pull request
feature 2 --> pull request
feature 3 --> pull request
Client/boss request a change to feature one that will make it dependent on feature 2
Now if the pull request gets processed in the order 1, 2 ,3 then the first pull can not be tested until branch 2 is merged
The question is what is the right way to deal with this ?
What I currently do ...
Tell client ignore branch one's pull request and make one and two part of the same request (this only works if they are in a succession sometimes the pulls are not in order)
Or
Make a new branch with all the changes and tell client ignore the first 3 requests
This seems silly, what is the proper way to handle this/ how do you handle it