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
Clarify that we use merge commits when mergeing PRs #4220
Conversation
I was not aware we had this policy. Moreover, there have been exceptions in the past where I merged when I should've rather squashed and merge. See: #4108 (comment) |
Yes. In general, we should always merge. Squashing should only be done in these cases:
|
Thats fine, but we should write down these exceptions too instead of just saying to always merge. |
I have rephrased the suggestions without the "is not willing" part, because that is another issue where we will find an individual solution. In general we should stick with the "Merge pull request .. " commits whenever possible for consistency when crawling through the git tree. |
Does this fit to your needs? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. pre-commit complains about trailing whitespace. Please fix, then we can merge IMHO.
Co-authored-by: Jan Holthuis <holthuis.jan@googlemail.com>
Done |
Whoa there. I didn't even have a chance to comment before this was merged. I am opposed to this. In my experience this policy is unusual and unwarranted. Most projects do not use merge commits; they rebase. |
We shall we revert until the discussion is concluded? Unsure, because in my understanding using merge commits was always our policy until now. Telling people to rebase would be a change IMHO. In any case, squash-and-merge should generally be discouraged. @Be-ing Can you open a topic on Zulip? I'm pretty much against rebasing because you need to retest every single commit, but let's not discuss that here. |
Let's continue the discussion on Zulip. No need to rush a reversion. |
No description provided.