aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorMiriam Rubio <mirucam@gmail.com>2020-08-28 14:46:06 +0200
committerJunio C Hamano <gitster@pobox.com>2020-08-28 16:21:16 -0700
commit30276765c114bbd57ef0d8e6cf5489501599421a (patch)
tree622eaf90a535d14841142cb624b0bb026ee9b1a3 /commit.c
parentbisect--helper: BUG() in cmd_*() on invalid subcommand (diff)
downloadgit-30276765c114bbd57ef0d8e6cf5489501599421a.tar.gz
git-30276765c114bbd57ef0d8e6cf5489501599421a.zip
bisect--helper: use '-res' in 'cmd_bisect__helper' return
Following 'enum bisect_error' vocabulary, return variable 'res' is always non-positive. Let's use '-res' instead of 'abs(res)' to make the code clearer. Mentored-by: Christian Couder <chriscool@tuxfamily.org> Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Miriam Rubio <mirucam@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions