From: Jonathan Nieder Date: Tue, 25 Apr 2017 23:48:46 GMT Subject: Re: [PATCH v8 1/2] run-command: expose is_executable function Message-ID: <20170425234846.GQ28740@aiede.svl.corp.google.com> In-Reply-To: <20170425234700.194277-1-bmwill@google.com> Brandon Williams wrote: > Move the logic for 'is_executable()' from help.c to run_command.c and > expose it so that callers from outside help.c can access the function. > This is to enable run-command to be able to query if a file is > executable in a future patch. > > Signed-off-by: Brandon Williams > --- > help.c | 43 +------------------------------------------ > run-command.c | 42 ++++++++++++++++++++++++++++++++++++++++++ > run-command.h | 1 + > 3 files changed, 44 insertions(+), 42 deletions(-) Reviewed-by: Jonathan Nieder