IssueRaiser

Mark pull request as depending on another

Quite often I find myself raising a pull request that contains another within it as a dependency. I want the diff to be exclusive of the dependency pull request’s changes, otherwise my colleagues end up reviewing more than they need to, or worse, the same changes twice (in both pull requests). To workaround this, I usually set the base of my pull request to the dependency pull request, however this has caveats: - When the dependency pull request is merged and the branch is deleted, the dependent pull request will be automatically closed. - When the dependent pull request is merged, it is silently merged into the dependency pull request. This is usually not intentional. I would like to see some UI in GitHub to make this workflow first class: - Dependent pull requests should not be mergeable until all dependency pull requests have been merged

Posted by OliverJAsh on Jun 14, 2017, 4:50 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments

ux (Software)

Mark pull request as depending on another

OliverJAshJun 14, 2017, 4:50 PM

Quite often I find myself raising a pull request that contains another within it as a dependency. I want the diff to be exclusive of the dependency pull request’s changes, otherwise my colleagues end up reviewing more than they need to, or worse, the same changes twice (in both pull requests). To workaround this, I usually set the base of my pull request to the dependency pull request, however this has caveats: - When the dependency pull request is merged and the branch is deleted, the dependent pull request will be automatically closed. - When the dependent pull request is merged, it is silently merged into the dependency pull request. This is usually not intentional. I would like to see some UI in GitHub to make this workflow first class: - Dependent pull requests should not be mergeable until all dependency pull requests have been merged

Comments (0)

No comments yet. Start the discussion.

Comment on this issue