News for hackers. Stuff that matters.
Re:Highlights from Git 2.35 by fragmede on Tuesday January 25, 2022 @01:29PM (#30075850)
Given git's support for merge trees, and arbitrary workflows, this already exists, it's just hard to access. With git, you can create a commit history that looks like this:

    A
    |\
    | B
    |/
    C
and git log --first-parent will show A and C, and hide B, even though B's code is contained in A. We used this all the time at Ksplice, where we had some custom tooling that made it easy create those triangles and our build system would use the commit message on A while ignoring B in order to build updates.
Re:Highlights from Git 2.35 by remram on Tuesday January 25, 2022 @02:07PM (#30076458)
What do you have in mind? Always hiding second parents of second parents? Or a special marker in G's commit message?