-
Notifications
You must be signed in to change notification settings - Fork 18k
x/review/git-codereview: add merge command #26201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Perhaps it would also be useful to restrict who can push directly to master? Or perhaps pushes to it should require a "yes I really am trying to push master" confirmation or flag. |
Pushing to master is already strictly limited (and I plan to make it opt in also for the people who can). This mistaken merge happened via a regular Gerrit review. |
For #43147, our attempted merge actually wound up like a cherry-pick of all changes from master on to dev.regabi, with just a single parent (so it wasn't even a merge commit). We believe this is what happened:
We believe the At a minimum, Maybe even allowing the |
Change https://golang.org/cl/279772 mentions this issue: |
Manual merge commits are dangerous (#26199, and it seems to have happened before with a merge from release-branch.go1.10).
We use merges for two reasons:
The first case is much more frequent, while the second case is what we don't want to happen most of the times, so the tooling should only support the first.
The text was updated successfully, but these errors were encountered: