summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: befb497)
raw | patch | inline | side by side (parent: befb497)
author | Jonas Fonseca <fonseca@diku.dk> | |
Fri, 18 May 2007 20:50:29 +0000 (22:50 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Fri, 18 May 2007 20:50:29 +0000 (22:50 +0200) |
This caused certain commit lines in the main view to not have have a
visual revision graph.
The reason is that revision graph visualization requires knowledge about
the parent commit. This causes a further one-off needed to be redrawn
for incremental updates.
visual revision graph.
The reason is that revision graph visualization requires knowledge about
the parent commit. This causes a further one-off needed to be redrawn
for incremental updates.
tig.c | patch | blob | history |
index 5ff4936b8b5486417acfa0e47a14aba0024ead52..5318fdd81f932e3f98c78402c3b3acb60a120f51 100644 (file)
--- a/tig.c
+++ b/tig.c
if (redraw_from > 0)
redraw_from--;
+ /* Since revision graph visualization requires knowledge
+ * about the parent commit, it causes a further one-off
+ * needed to be redrawn for incremental updates. */
+ if (redraw_from > 0 && opt_rev_graph)
+ redraw_from--;
+
/* Incrementally draw avoids flickering. */
redraw_view_from(view, redraw_from);
}