gitbutler
gitbutler copied to clipboard
GitButler doesn't recognize allowed GitHub PR merge methods
Version
0.14.19
Operating System
macOS
Distribution Method
dmg (Mac OS - Apple Silicon)
Describe the issue
When trying to merge a PR in GitButler with a method that is not allowed in your GitHub repository's settings, GitButler will do nothing and output no error.
How to reproduce (Optional)
- Create a repository and turn off "Allow rebase merging" and "Allow merge commits"
- Make some changes and create a PR with GitButler
- Attempt to merge the pull request using a default option
- Nothing happens
- Switch the method to squash, squash and merge
- It works
Expected behavior (Optional)
GitButler should grey out these options like on the web PR view.
Relevant log output (Optional)
Thanks a lot for reporting!
Maybe as a start we could look into why failures to interact with forges don't propagate so they are user-observable. Maybe there even is a general way of tackling this, but @estib-vega certainly has ideas as well.