Replies: 4 comments 6 replies
-
I can currently check out any commit on
Obviously no-one would deliberately merge-commit a branch containing 30 commits called I agree with the downsides you have laid out, but I feel like the alternative would have more potential downsides. |
Beta Was this translation helpful? Give feedback.
-
❗ Important note on benchmarkingIf we do decide to move away from squash commits, several changes in design philosophy would be needed to |
Beta Was this translation helpful? Give feedback.
-
@lbdreyer We had a lovely discussion in the @SciTools/peloton and we were tending to the conclusion of keeping the status quo - did you want to argue your case further before we make a final decision? |
Beta Was this translation helpful? Give feedback.
-
I think this has been answered. |
Beta Was this translation helpful? Give feedback.
-
For some time now, the Iris repo has been locked down so that in general PRs can only be squash-merged. I didn't question that for a long time but it seems odd that we have to actively unlock that setting so that merge-back PRs can work sensibly (e.g. #5454). There is also a (slight) disadvantage to contributors in that the squash-merge breaks git's knowledge of whether a branch is merged into main. If I go to my local clone and do
For Iris this will only show my default branch, whereas for projects that merge my commits I get a list of branches that can safely be deleted.
So what's the advantage of locking it down like this?
Beta Was this translation helpful? Give feedback.
All reactions