On 25/06/24 21:29, Junio C Hamano wrote:
Why clear .args here?
I overlooked the fact that run_command already clears .args if the command exits with a zero exit code. Will fix, thank you.
I am wondering if the last part need to be more like ... cp.no_stdout = 1; if (run_command(&cp)) child_process_clear(&cp);
That makes sense to me, will do. Thanks.