3 ms·
Why call it a "generation number" and not "depth"?
by Peaker 15y ago
Why call it a "generation number" and not "depth"?
- rs 15y agoThink they're using "generation" here in the context of number of parents (yes, "depth" would work fine as well, but is a more general term)
- pyre 15y ago> number of parents s/parents/ancestors/ But that statement only holds up on branches without any merge commits. Because the actual algorithm does not just total up the number of ancestors.
- caf 15y agoPerhaps because "Generation" continues the Parent/Child allegorical language.
- Canopy 15y ago"Depth" would (at least for me) evoke the shortest path to a commit. The generation number is the longest path.
- beza1e1 15y agoSince gitk and others put new commits on top, i'd propose "height" instead of "depth" ;)