]> git.ipfire.org Git - thirdparty/git.git/commit - scalar.c
scalar-[un]register: clearly indicate source of error
authorVictoria Dye <vdye@github.com>
Thu, 18 Aug 2022 21:40:48 +0000 (21:40 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2022 04:35:32 +0000 (21:35 -0700)
commitd2a79bc953375ed7dd8cb06fd3db92f85c64c206
tree232a7cccbbd696866f00b7100aa64f290cd6fba2
parentadedcee8115038913ad551d88a9a040973066d4d
scalar-[un]register: clearly indicate source of error

When a step in 'register_dir()' or 'unregister_dir()' fails, indicate which
step failed with an error message, rather than silently assigning a nonzero
return code.

Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/scalar/scalar.c