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

Eric Christopher via cfe-dev cfe-dev at lists.llvm.org
Wed Jan 30 13:18:59 PST 2019


On Wed, Jan 30, 2019 at 12:42 PM David Greene via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
>
> 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.
>

Agreed. Let's go with option #1.

-eric



More information about the cfe-dev mailing list