summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2026-07-15 16:21:59 +0100
committerJunio C Hamano <gitster@pobox.com>2026-07-15 12:16:21 -0700
commitdc0e2ac15dc5c3770b2117535a0b316e3bf6aa7a (patch)
tree2515ac9d55ba27687a47c2dbbc7938a6f83853d8 /contrib/persistent-https
parent6bb740dffb908a670e52b88f309f521f6d29a912 (diff)
sequencer: simplify handling of fixup with conflicts
Commit e032abd5a0 (rebase: fix rewritten list for failed pick, 2023-09-06) introduced an early return when res == -1, so if we enter this conditional block then res is positive. After the last couple of commits the only possible positive value is 1. That means we can simplify the code by removing the conditional call to intend_to_amend() and have error_failed_squash() request that it is called in error_with_patch() instead. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions