chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92507a2
)
More graph_parent_is_merge usage
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
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index ce35f5925135c11c1759b86540332ff5e4d10931..0948cb7b19982318b4d66fb264e80e84284d21d5 100644
(file)
--- 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;