diff options
author | René Scharfe <l.s.r@web.de> | 2022-01-18 13:45:57 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-18 17:11:22 -0800 |
commit | 80c2e9657f2d0f0cd45eec6f5e66f570bf542124 (patch) | |
tree | d270d378502070072ff363e2c074f4e543d1954f /compat/inet_ntop.c | |
parent | Merge branch 'js/branch-track-inherit' (diff) | |
download | tgif-80c2e9657f2d0f0cd45eec6f5e66f570bf542124.tar.xz |
bisect--helper: report actual bisect_state() argument on error
The strvec "args" in bisect_run() is initialized and cleared, but never
added to. Nevertheless its first member is printed when reporting a
bisect_state() error. That's not useful, since it's always NULL.
Before d1bbbe45df (bisect--helper: reimplement `bisect_run` shell
function in C, 2021-09-13) the intended new state was reported if it
could not be set. Reinstate that behavior and remove the unused strvec.
Reported-by: Ramkumar Ramachandra <r@artagnon.com>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/inet_ntop.c')
0 files changed, 0 insertions, 0 deletions