-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
When using the gitlint commit hook with custom arguments, then you will get an error message like:
Error: Invalid value for '--msg-filename': '-c': No such file or directory
Example
git-hooks.hooks.gitlint.args = ["-c" "general.ignore=B6" "-c" "title-max-length.line-length=120"];Workaround
Overriding entry like:
git-hooks.hooks.gitlint.entry = "${pkgs.gitlint}/bin/gitlint -c general.ignore=B6 -c title-max-length.line-length=120 --staged --msg-filename";Metadata
Metadata
Assignees
Labels
No labels