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 <bmw...@google.com>
> ---
>  help.c        | 43 +------------------------------------------
>  run-command.c | 42 ++++++++++++++++++++++++++++++++++++++++++
>  run-command.h |  1 +
>  3 files changed, 44 insertions(+), 42 deletions(-)

Reviewed-by: Jonathan Nieder <jrnie...@gmail.com>

Reply via email to