зеркало из https://github.com/microsoft/git.git
rerere: handle conflicts with multiple stage #1 entries
A conflicted index can have multiple stage #1 entries when dealing with a criss-cross merge and using the "resolve" merge strategy. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
fb70a06da2
Коммит
5eda906b28
2
rerere.c
2
rerere.c
|
@ -369,7 +369,7 @@ static int check_one_conflict(int i, int *type)
|
|||
}
|
||||
|
||||
*type = PUNTED;
|
||||
if (ce_stage(e) == 1)
|
||||
while (ce_stage(active_cache[i]) == 1)
|
||||
i++;
|
||||
|
||||
/* Only handle regular files with both stages #2 and #3 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче