Re: [PATCH v8 1/2] run-command: expose is_executable function
Show 11 quoted lines
> 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 <bmwill@google.com>
> ---
> help.c | 43 +------------------------------------------
> run-command.c | 42 ++++++++++++++++++++++++++++++++++++++++++
> run-command.h | 1 +
> 3 files changed, 44 insertions(+), 42 deletions(-)
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>