mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-02 04:38:04 +00:00
Add `--git-dir=.git` to cause git commands to fail instantly if the `.git` folder has gone missing. Fixes: #24007
See the "Find Modules" section of the cmake-developer(7) manual page. For more information about how to contribute modules to CMake, see this page: https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/dev/Module-Maintainers