Merge branch 'gg/worktree-from-the-above' into maint

In a non-bare repository, the behavior of Git when the core.worktree configuration variable points at a directory that has a repository as its subdirectory, regressed in Git 2.27 days. source: <20220616234433.225-1-gg.oss@outlook.com> source: <20220616231956.154-1-gg.oss@outlook.com> * gg/worktree-from-the-above: dir: minor refactoring / clean-up dir: traverse into repository

Junio C Hamano committed Jul 27, 2022 at 13:00 UTC f070ec4cb5c4959faab1fdfc68e9e368c38ba493

No changes.