summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 92507a2)
raw | patch | inline | side by side (parent: 92507a2)
author | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 12 Sep 2006 16:52:55 +0000 (18:52 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Tue, 12 Sep 2006 16:52:55 +0000 (18:52 +0200) |
tig.c | patch | blob | history |
index ce35f5925135c11c1759b86540332ff5e4d10931..0948cb7b19982318b4d66fb264e80e84284d21d5 100644 (file)
--- a/tig.c
+++ b/tig.c
if (graph->parents->size == 0)
symbol = REVGRAPH_INIT;
- else if (graph->parents->size > 1)
+ else if (graph_parent_is_merge(graph))
symbol = REVGRAPH_MERGE;
else if (graph->pos >= graph->size)
symbol = REVGRAPH_BRANCH;