From: Jonas Fonseca Date: Tue, 12 Sep 2006 16:52:55 +0000 (+0200) Subject: More graph_parent_is_merge usage X-Git-Tag: tig-0.6~13 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/tig/commitdiff_plain/18ffaa238dfd737bc8205a6a949dc3d55cb4fd7b?ds=inline;hp=-c More graph_parent_is_merge usage --- 18ffaa238dfd737bc8205a6a949dc3d55cb4fd7b diff --git a/tig.c b/tig.c index ce35f59..0948cb7 100644 --- a/tig.c +++ b/tig.c @@ -2753,7 +2753,7 @@ get_rev_graph_symbol(struct rev_graph *graph) 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;