aboutsummaryrefslogtreecommitdiff
path: root/kde-modules/kde-git-commit-hooks/pre-commit.in
AgeCommit message (Collapse)Author
2021-01-16Add cmake function to configure git pre-commit hooksAlexander Lohnau
This will allow us to force QS checks before the developer commits a change. Currently only clang-format is supported, but as on #plasma and https://phabricator.kde.org/T11214 discussed we might want to add different formatters. By making the checks configurable we are flexible and can easily extend it.