Description
Hi Bahtiar,
thanks for the nice project. Branch folding is indeed a very useful feature which I miss in many other git log viewers.
Quite often I find myself in a situation where I'm interested in several branches (master + topic branch, for example). Therefore, I have one suggestion for a new feature: how about supporting multiple revisions and the --all flag, similar to tig, gitk, git log, ...?
For example:
glv master topic-branch
would show all commits reachable by the branches master and topic-branchglv --all
would show all refs under refs/ together with HEAD
Usage string could be brought in sync with git log:
glv [--workdir=DIR] [<revision range>...] [--all] [-d | --debug] [[--] <path>...]
I realize that internally you implemented your own handling of the 'branch1..branch2' syntax, and also the algorithm for walking the tree of commits. Therefore maybe the feature is quite difficult to implement. Otherwise it might have been as simple as passing on the additional references to git rev-list
and this issue would have come with a pull request ;) But maybe you agree that this would be a useful feature, and maybe you have an idea how to add it to glv.
Cheers
Raimar