We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07c55c0 + 339c17b commit 46992b5Copy full SHA for 46992b5
graph.c
@@ -801,10 +801,10 @@ static int graph_draw_octopus_merge(struct git_graph *graph,
801
int num_dashes =
802
((graph->num_parents - dashless_commits) * 2) - 1;
803
for (i = 0; i < num_dashes; i++) {
804
- col_num = (i / 2) + dashless_commits;
+ col_num = (i / 2) + dashless_commits + graph->commit_index;
805
strbuf_write_column(sb, &graph->new_columns[col_num], '-');
806
}
807
808
strbuf_write_column(sb, &graph->new_columns[col_num], '.');
809
return num_dashes + 1;
810
0 commit comments