GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
I've asked a question here, about having a selectable nodes of a git tree: http://stackoverflow.com/questions/14936887/git-tree-with-selectable-nodes-in-terminal
Is this possible with tig? I know you can toggle items in the main display off, so all that's is left is:
* Added another file
* Added file
.. but even this is not minimalist enough for me.
Is it possible to have it just dots:
.. and when a dot has to cursor on it, the commit message is shown at the bottom of the screen. Then I can hit return to get the full details as normal.
No, this is not possible. You would have to do something like the following:
diff --git a/tig.c b/tig.c
index 05020a9..31e5445 100644
@@ -7344,7 +7344,7 @@ main_draw(struct view *view, struct line *line, unsigned int lineno)
if (draw_refs(view, commit->refs))
- draw_text(view, LINE_DEFAULT, commit->title);
+ //draw_text(view, LINE_DEFAULT, commit->title);
I must admit that having just dots seems like a waste of space. ;)
Plus, tig's graph rendering can't handle complex DAGs with lots of cross merges etc.