2 ms·
trunk would not be a good term since it is not a trunk, it is a branch. Some of the problems with the proposed alternatives (and this applies for the other term
by glofish 6y ago
trunk would not be a good term since it is not a trunk, it is a branch. Some of the problems with the proposed alternatives (and this applies for the other terms as well: "blocklist", "parent") is that the words are overly specific and have a meaning that could be clearly misleading, like calling one of the branches "trunk".
One of the reasons that white/black terms stuck is that they are not overly specific hence can be applied for diverse situations yet maintain the clarity of they mean.
Perhaps it should be called "first" or if you feel fancy "origo" - as in the first branch created when you initialize a repository.
- catalogia 6y agoFirst/origo makes more sense to me than 'main' following that logic. I've seen plenty of projects where the 'main'/'mainline'/'master' isn't actually where any development is done or any code deployed from. Other branches originate from them, but the focus of the developers is in other parts of the tree. That's also why I think 'trunk' is a good name. It describes the positional relationship that part of the tree has to other parts, without ascribing any organizational importance to it. I don't think 'first' is ideal though, since that has a temporal component and would be better applied to the root commit.