diff options
author | brian m. carlson <bk2204@github.com> | 2023-06-27 16:18:56 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-27 11:31:05 -0700 |
commit | d6546af75c3cda2815f2e4d5322dd7a41cc0963b (patch) | |
tree | 45c9ba6f88b5e41afa7e43df4fb924673f4973b6 /builtin/commit.c | |
parent | 4db16f58c7720257eea9ffb7d4e76809f2c403f0 (diff) |
t: add a function to check executable bit
In line with our other helper functions for paths, let's add a function
to check whether a path is executable, and if not, print a suitable
error message. Document this function, and note that it must only be
used under the POSIXPERM prerequisite, since it doesn't otherwise work
on Windows.
Signed-off-by: brian m. carlson <bk2204@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions