Overcommit v0.27.0 Release Notes
-
๐ New Features
- โ Add
HtmlHint
pre-commit hook that checks HTML files with HTMLHint - โ Add support to the hook
execute
helper for accepting an optional list of splittable command arguments for transparently dealing with really long file lists and the operating system command length limit - โ Add
modified_files
helper toPostCheckout
andPostRewrite
hooks - โ Add
rewritten_commits
helper toPostRewrite
hooks - โ Add
gemfile
option to configuration file which allows aGemfile
to be loaded by Bundler to enforce particular gem versions during hook runs - โ Add support for
OVERCOMMIT_DEBUG
environment variable which toggles the display of additional verbose output from executed commands - โ Add support for defining
[hooks based on your existing git hooks](README.md#adding-existing-git-hooks)
within your
.overcommit.yml
(no Ruby code required) - โ Add support for filtering all hooks except a small list via the
ONLY
environment variable (similar toSKIP
except a whitelist instead of blacklist)
๐ Changes
- Don't display "No applicable hook-type hooks to run" message unless debug mode is enabled
๐ Bug Fixes
- ๐ Fix pre-commit hook bug where amending a commit which breaks a symlink would result in that symlink not being included in the list of modified files
- ๐ Fix
CaseConflicts
pre-commit hook handling of large sets of files - ๐ Fix
SemiStandard
/Standard
hooks to read fromSTDOUT
instead ofSTDERR
and handle new output format - ๐ Fix
commit-msg
hooks to handle large commit messages auto-generated by the--verbose
flag forgit commit
- โ Add