aboutsummaryrefslogtreecommitdiff
path: root/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'graph.c')
-rw-r--r--graph.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/graph.c b/graph.c
index 9d6ed30b0..400f0147b 100644
--- a/graph.c
+++ b/graph.c
@@ -190,7 +190,10 @@ static void graph_insert_into_new_columns(struct git_graph *graph,
* Ignore uinteresting and pruned commits
*/
if (commit->object.flags & (UNINTERESTING | TREESAME))
+ {
+ *mapping_index += 2;
return;
+ }
/*
* If the commit is already in the new_columns list, we don't need to