From: Lukáš Doktor Date: Fri, 04 Nov 2022 06:31:26 GMT Subject: "git bisect run" strips "--log" from the list of arguments Message-ID: <1cb1c033-0525-7e62-8c09-81019bf26060@redhat.com> Hello folks, recently I noticed a change of behavior in "git bisect run" and since git-2.34.1-1.fc35.x86_64 it's stripping "--log" arguments of my to-be-executed script. Steps to Reproduce: 1. git bisect start BAD GOOD 2. git bisect run ./myscript arg1 --log arg2 --log -- arg3 --log arg4 Results with 2.34.1: running './myscript' 'arg1' 'arg2' '--' 'arg3' '--log' 'arg4' Results with 2.33.0: running ./myscript arg1 --log arg2 --log -- arg3 --log arg4 Is this expected? In https://bugzilla.redhat.com/show_bug.cgi?id=2139883 Todd suggested it might be related to d1bbbe45df (bisect--helper: reimplement `bisect_run` shell function in C, 2021-09-13) but I haven't tried it myself. Regards, Lukáš