diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2021-09-21 10:24:05 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-22 12:04:51 -0700 |
commit | 35f070b4de8fa01c11d9478297ea074d633bd7d5 (patch) | |
tree | 85cd932e88da3a48f7d994a548975917df134567 /remote.c | |
parent | t3407: rework rebase --quit tests (diff) | |
download | tgif-35f070b4de8fa01c11d9478297ea074d633bd7d5.tar.xz |
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 <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
0 files changed, 0 insertions, 0 deletions