summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2021-09-21 10:24:05 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-22 12:04:51 -0700
commit35f070b4de8fa01c11d9478297ea074d633bd7d5 (patch)
tree85cd932e88da3a48f7d994a548975917df134567 /remote.c
parentt3407: rework rebase --quit tests (diff)
downloadtgif-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