From: Jonas Fonseca Date: Tue, 12 Sep 2006 16:52:55 +0000 (+0200) Subject: More graph_parent_is_merge usage X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=18ffaa238dfd737bc8205a6a949dc3d55cb4fd7b;p=tig.git More graph_parent_is_merge usage --- 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;