Skip to content

kde-modules/KDEGitCommitHooks.cmake - handle non-toplevel project

Allen Winter requested to merge winterz/precommit-in-submodules into master

Only install pre-commit hooks if KDE_CONFIGURE_GIT_PRE_COMMIT_HOOK is called frm CMAKE_CURRENT_PROEJECT, eg. don't install pre-commit hooks if ECM is inside a submodule or fetched-content.

Merge request reports