Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-29 | Make pre-commit hook executable | Milian Wolff | |
Otherwise recent versions of git will complain with: ``` hint: The '.git/hooks/pre-commit' hook was ignored because it's not set as executable. hint: You can disable this warning with `git config advice.ignoredHook false`. ``` | |||
2021-01-16 | Add cmake function to configure git pre-commit hooks | Alexander 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. |