提交 ab242f80 编写于 作者: J Junio C Hamano

rerere: do not skip two conflicted paths next to each other.

The code forgot to take the for (;;) loop control into account,
incrementing the index once too many.
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 cef19c7a
......@@ -160,7 +160,7 @@ static int find_conflict(struct path_list *conflict)
ce_stage(e3) == 3 && ce_same_name(e1, e2) &&
ce_same_name(e1, e3)) {
path_list_insert((const char *)e1->name, conflict);
i += 3;
i += 2;
}
}
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册