Closed roaksoax closed 4 years ago
This happens because the jarvis command uses git merge, and if the target branch has progressed then a merge commit is used to preserve the commits. Preserving these are needed to mark the github PR as merged (instead of closed).
To sort this we need to use the github merge api. So the order would be :
the only remaining concern is that in this scenario we don't validate that the cherry-picks work on backport branches. which would lead to the target branch getting merged but not the backports.
I'll find out if it's possible to do a dry run or similar that still gives us the diff we can apply to test.
$ git show 78eb3b81f
$ git show 74b2153cc