[cfe-dev] [llvm-dev] [Github] RFC: linear history vs merge commits

David Greene via cfe-dev cfe-dev at lists.llvm.org
Wed Jan 30 12:42:01 PST 2019


Bruce Hoult via llvm-dev <llvm-dev at lists.llvm.org> writes:

> How about:
>
> Require a rebase, followed by git merge --no-ff
>
> This creates a linear history, but with extra null merge commits
> delimiting each related series of patches.
>
> I believe it is compatible with bisect.
>
> https://linuxhint.com/git_merge_noff_option/

We've done both and I personally prefer the strict linear history by a
lot.  It's just much easier to understand a linear history.

                      -David


More information about the cfe-dev mailing list