diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2020-04-11 13:40:20 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-11 14:23:23 -0700 |
commit | 7c2dfca7e81538b3d979b85b5bd023358d4d79eb (patch) | |
tree | 703826db47c1ac9b73d1802a4ccc0df8f12f8f04 /t/t4208-log-magic-pathspec.sh | |
parent | Merge branch 'ds/default-pack-use-sparse-to-true' (diff) | |
download | tgif-7c2dfca7e81538b3d979b85b5bd023358d4d79eb.tar.xz |
t: consolidate the `is_hidden` functions
The `is_hidden` function can be used (only on Windows) to determine
whether a directory or file have their `hidden` flag set.
This function is duplicated between two test scripts. It is better to
move it into `test-lib-functions.sh` so that it is reused.
This patch is best viewed with `--color-moved`.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4208-log-magic-pathspec.sh')
0 files changed, 0 insertions, 0 deletions