Log: option to toggle visibility of parent commits

Mikhail Matrosov 10 months ago • updated 10 months ago 1

This is related to: https://smartgit.userecho.com/topics/804

But is a more general approach. I would like to choose any state between "only first parents are shown" (proposed in the RFE) and "all parents are shown" (current state). I want to be able to hide any parent of any commit (mostly makes sense for merge commits and second parents). In this way I can exclude any irrelevant branches/commits/lines from the log and concentrate only on those I'm currently investigating.

You can borrow some inspiration in Plastic SCM, how they do Branches View. Basically, each branch is considered a detail. Initially you can see only main line. You see merges on it. Interested in details? Expand a merge, look what's in it.