]> git.99rst.org Git - git.git/commit
rebase: use our standard error return value
authorPhillip Wood <redacted>
Tue, 21 Sep 2021 10:24:05 +0000 (10:24 +0000)
committerJunio C Hamano <redacted>
Wed, 22 Sep 2021 19:04:51 +0000 (12:04 -0700)
commit35f070b4de8fa01c11d9478297ea074d633bd7d5
tree85cd932e88da3a48f7d994a548975917df134567
parentd045719ac8ab2b2c6f4d7ce61ad3d35843556bbf
rebase: use our standard error return value

Git uses −1 to signal an error. The builtin rebase converts these to
+1 all over the place using !! (presumably because the in the scripted
version an error was signalled by +1). This is confusing and clutters
the code, we only need to convert the value when the function returns.

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