Re: [PATCH v3 2/4] trace.c: print program 'git' when child_process.git_cmd is set

2018-01-12 Thread Jeff King
On Fri, Jan 12, 2018 at 04:56:05PM +0700, Nguyễn Thái Ngọc Duy wrote: > We normally print full command line, including the program and its > argument. When git_cmd is set, we have a special code path to run the > right "git" program and child_process.argv[0] will not contain the > program name any

[PATCH v3 2/4] trace.c: print program 'git' when child_process.git_cmd is set

2018-01-12 Thread Nguyễn Thái Ngọc Duy
We normally print full command line, including the program and its argument. When git_cmd is set, we have a special code path to run the right "git" program and child_process.argv[0] will not contain the program name anymore. As a result, we print just the command arguments. I thought it was a reg