Tags: nevinera/overcommit
Tags
0.22.0 release * Disable `Reek` pre-commit hook by default * Allow `required_executable` to include paths that are in the repo root * Add `command` hook option allowing the actual command that is executed to be configured (useful to invoke command via `bundle exec` or similar) * Add `flags` hook option allowing the flags passed on the command line to be configured
0.21.0 release * Change `HardTabs`, `MergeConflicts`, and `PryBinding` pre-commit hooks to be `quiet` by default * Switch `TravisLint` pre-commit hook from deprecated `travis-lint` gem to `travis` gem * Add .projections.json configuration file * Add pre-commit static analysis and linting for sh/bash scripts with [ShellCheck](http://www.shellcheck.net/) * Use `--verbose` flag when running JSCS to include name of offending rule
0.20.0 release * Add `--run` flag which runs all configured pre-commit hooks against the entire repository * Fix installer to work with Overcommit hooks created via `GIT_TEMPLATE_DIR` * Fix hook runner to not display skip message unless hook would have actually run * Change `ImageOptim` hook to use `skip_missing_workers` option and update dependency to 0.18.0 * Remove interactive prompt support from overcommit hooks * Change hook signing from interactive flow to be done via `overcommit --sign <hook-type>` command
0.19.0 release * Add `--no-pngout` flag for `image_optim` command on `:fail` message * Fix `Brakeman` pre-commit hook when multiple files have been staged * Reset modification times more frequently when cleaning up the environment after running pre-commit hooks. This should help overcommit work with file watchers a little more nicely. * Add pre-commit JavaScript style checking with [JSXCS](https://github.com/orktes/node-jsxcs) * Add pre-commit Ruby code smell checking with [Reek](https://github.com/troessner/reek) * Gracefully handle `.git` files that point to an external git directory
0.18.0 release * Update minimum version of `image_optim` gem to 0.15.0 (breaking change in name of exception classes) * Add `--list-hooks` flag which displays all hooks for a repository and whether they are enabled/disabled * Add `required_executable` and `install_command` options that allow a hook to define an executable that must be in the `PATH` in order for it to work, and a command the user can use to install the executable if it doesn't exist * All built-in hooks will now fail if the required executable is not present * Fix bug where pre-commit hook would crash if user attempted to commit a broken symlink * Add `BrokenSymlinks` pre-commit hook which checks for broken symlinks * Fix Chamber integration * Fix 'include' path for ChamberSecurity * Fix bug where commit message from cherry-picked commit would be lost if there were conflicts
0.17.0 release * Change commit hook header text to bold instead of bold white so that it displays on terminals with a white background * Add support for `OVERCOMMIT_DISABLE` environment variable, which when set prevents Overcommit hooks from running * Fix bug that prevented RailsSchemaUpToDate from working in directories that contained decimals * Warn when trying to pipe commands using the `execute` helper, as this is not supported * Include both standard out/error streams in exception messages in pre-commit hook context
0.16.0 release * Fix edge case where hitting Ctrl-C twice rapidly could result in work tree being lost * Fix edge case where hitting Ctrl-C after all pre-commit hooks had run but before the cleanup had finished would result in a lost working tree * Handle edge case where if a file was created in the working directory by a separate process in between the working tree being reset and the stash being applied, the hook runner would silently fail * Prevent stack traces from appearing during early interrupt before Overcommit has loaded its code * Remove `BundleCheck` post-checkout hook as it was a bit overzealous
0.15.0 release * Fix bug where incorrect "hook run interrupted" message displayed when hook run failed * Gracefully handle `git stash` failures in pre-commit hook runs * Fix `overcommit-hook` auto-updating not passing original arguments to updated hook * Display message when `overcommit-hook` file is automatically updated * Deprecate `:bad` status in favor of `:fail` * Deprecate `:good` status in favor of `:pass` * Allow hook statuses to be transformed via `on_fail` and `on_warn` configuration options * Add `config` attribute as the preferred method to access hook configurations in hook implementations * Generate starter configuration on install with instructions on how to configure overcommit if an `.overcommit.yml` file does not yet exist * Include name of hook in output (to make it easier to find out which name to use when skipping)
0.14.0 release * Ignore `db/structure.sql` in `TrailingWhitespace` pre-commit hook * Drop stashed changes after restoring them (now that sds#55 is fixed) * Change `JSCS` pre-commit hook to check status code instead of using regex to determine type of error * Fix performance regression where running Overcommit in a repository with a lot of files would be very slow * Wildcards in include/exclude globs now match files beginning with `.` * Drop support for Ruby 1.8.7
PreviousNext