]> git.99rst.org Git - git.git/commit
sequencer: remove unnecessary "or" in pick_one_commit()
authorPhillip Wood <redacted>
Wed, 15 Jul 2026 15:21:58 +0000 (16:21 +0100)
committerJunio C Hamano <redacted>
Wed, 15 Jul 2026 19:16:21 +0000 (12:16 -0700)
commit6bb740dffb908a670e52b88f309f521f6d29a912
tree12a5abff3421efd7a05c1a9938fd751b07bfdd39
parent18f5750beb14c13f1a140361b6a0459764ec0364
sequencer: remove unnecessary "or" in pick_one_commit()

If error_with_patch(..., res, ...) succeeds then it returns "res", if
it fails then it returns -1. This means that or-ing the return value
with "res" is pointless as the result is the same as the return value.

Signed-off-by: Phillip Wood <redacted>
Signed-off-by: Junio C Hamano <redacted>
sequencer.c
git clone https://git.99rst.org/PROJECT