git-hooks.nix
git-hooks.nix copied to clipboard
gitlint: add `flags` option
The gitlint hook requires --msg-filename to appear last on the command line such that it is in front of the commit message filename. This is not the case when the args option is set. To fix this, we append --msg-filename to the args option.
Fixes #641.