Skip to content

[Meta] Rebase only merges? #4359

Closed
Closed

Description

@BardurArantsson

I just noticed that we're (apparently) not doing merges any more, but only allowing rebase + FF... I think this may be a mistake unless we're willing to enforce stricter standards on individual commits including that they compile individually + have reasonable commit messages (or that they're squashed into one commit if they don't). WDYT? Am I being overly paranoid?

Activity

  1. BardurArantsson commented on Feb 25, 2017

    @BardurArantsson
    CollaboratorAuthor

    I should add that I'm actually a fan of the rebase-only approach, but my reason for it is that it makes the logs a lot cleaner. However, if we're not enforcing good commit messages and a "no spurious/bad commits" policy that reasoning doesn't apply.

    I should also emphasize that many (if not most) contributors actually do adhere to this pretty closely, but it can be quite a big hurdle for people who are new to git or to projects with such high standards.

  2. ezyang commented on Feb 25, 2017

    @ezyang
    Contributor

    I was in the habit of rebase merging PRs (because I like clean history), so I flipped it to be rebase only. Is the main motivation for CI'ing every commit if you rebase only to keep bisect working? If so clean history is not worth it. I flipped it back to merge only.

  3. BardurArantsson commented on Feb 25, 2017

    @BardurArantsson
    CollaboratorAuthor

    Yeah, it's primarily about bisect. (It's not that it makes bisect impossible per se, but it can make it really really annoying if e.g. 4 out of 6 commits don't actually build.

    Anyway, as you've changed back to merge only, I'm closing this. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions