summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2026-07-15 16:21:56 +0100
committerJunio C Hamano <gitster@pobox.com>2026-07-15 12:16:21 -0700
commit1da85922fddd6f693739385fa08c0d15ad066247 (patch)
tree671705ac80560f9d532783799ccdfe4b1654307a /t/t4013/diff.diff_initial..side
parent88101d339a07c9ccc46ac37f2a5e922fae053a71 (diff)
sequencer: be more careful with external merge
If an external merge strategy cannot merge (for example because it would overwrite an untracked file) it exits with a non-zero exit code other than 1. This should be treated differently from a merge with conflicts, which is signaled by an exit code of 1, because, as the merge failed, we need to reschedule the last pick. The caller expects us to return -1 in this case. Also reschedule without trying to merge if the commit message cannot be written as that prevents us from successfully picking the commit. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions