diff options
author | Brandon Williams <bmwill@google.com> | 2017-04-26 01:46:59 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-04-26 03:45:29 +0200 |
commit | 38124a40e480c1717326b7bc27bcbca758de908e (patch) | |
tree | ce31606c4c21865813559aa1315dc4e13d111be4 /revision.h | |
parent | run-command: block signals between fork and execve (diff) | |
download | git-38124a40e480c1717326b7bc27bcbca758de908e.tar.xz git-38124a40e480c1717326b7bc27bcbca758de908e.zip |
run-command: expose is_executable function
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>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
0 files changed, 0 insertions, 0 deletions