Re:Introducing draft pull requests
by nmjohn on Thursday February 14, 2019 @02:13PM
(#19164882)
IIRC, you just need a commit different in order to open a PR with github. To make an empty commit:
[ Parent
| on HN ]
Is that even necessary? I would have thought that simply making the branch and pushing it while it's on the same commit as the branch you're branching from would be enough.
Re:Introducing draft pull requests
by MapleWalnut on Thursday February 14, 2019 @09:04PM
(#19167907)
You can't merge a branch that is even with another.
Well, sites like GitHub could be designed so the PR appears as merged from the beginning and then enabling the "merge" button, once more commits are available. Doing it this way also allows to naturally support merging a PR/MR more than once, which I don't know if it's undesirable, but it more closely aligns with what git supports.
Re:Introducing draft pull requests
by darkerside on Thursday February 14, 2019 @03:05PM
(#19165469)
I thought Github looked for an actual code difference in the PR creation process, but it seems you're correct! Thanks for the tip.