diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2020-04-11 13:40:21 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-11 14:23:25 -0700 |
commit | 9814d0a4ad0f9670b5959939f38dd42f9a7d83b6 (patch) | |
tree | 05d7564839431c082222a4894b29a0e016ac3761 /Documentation/RelNotes | |
parent | t: consolidate the `is_hidden` functions (diff) | |
download | tgif-9814d0a4ad0f9670b5959939f38dd42f9a7d83b6.tar.xz |
mingw: make test_path_is_hidden more robust
This function uses Windows' system tool `attrib` to determine the state
of the hidden flag of a file or directory.
We should not actually expect the first `attrib.exe` in the PATH to
be the one we are looking for. Or that it is in the PATH, for that
matter.
Let's use the full path to the tool instead.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes')
0 files changed, 0 insertions, 0 deletions