t7300: add testcase showing unnecessary traversal into ignored directory
authorElijah Newren <newren@gmail.com>
Wed, 12 May 2021 17:28:17 +0000 (17:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 May 2021 23:45:03 +0000 (08:45 +0900)
commit2e4e43a6910393d681d095f515d41232c2372966
treefb37ea74cdd85b62fcfe4cce8f8b8b973efd7554
parentb338e9f668737e08201c990450b8c3d744f63162
t7300: add testcase showing unnecessary traversal into ignored directory

The PNPM package manager is apparently creating deeply nested (but
ignored) directory structures; traversing them is costly
performance-wise, unnecessary, and in some cases is even throwing
warnings/errors because the paths are too long to handle on various
platforms.  Add a testcase that checks for such unnecessary directory
traversal.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7300-clean.sh