News for hackers. Stuff that matters.
Re:FyneDesk: A full desktop environment for Linux written in Go by skydhash on Friday October 03, 2025 @10:27AM (#45463407)
Branch is semantic. The true unit is commit and the tree is applying a set of commits. Branching is just selecting a set of commits for a tree. There’s no wrong or right branch, there is just the matter of generating the wrong patch
Re:FyneDesk: A full desktop environment for Linux written in Go by gouggoug on Friday October 03, 2025 @12:36PM (#45464840)
Branches are mutable and regularly point to a new commit. Branching is selecting an active line of development, a set of commits that change over time.

That's why git also offer tags. Tags are immutable.

That's an important distinction.

Re:FyneDesk: A full desktop environment for Linux written in Go by ezst on Sunday October 05, 2025 @03:51AM (#45479708)
see my sibling comment here: https://news.ycombinator.com/item?id=45479690

tl;dr you lose some semantic (and practical capabilities, UX and effectiveness) when you don't capture branch information at commit-level