File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Overcommit Changelog
2
2
3
+ ## 0.66.0
4
+
5
+ * Add ` --diff ` CLI option for running pre-commit hooks against only changed files
6
+
3
7
## 0.65.0
4
8
5
9
* Load bundled gems on expected version
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ Command Line Flag | Description
131
131
` -f ` /` --force ` | Don't bail on install if other hooks already exist--overwrite them
132
132
` -l ` /` --list-hooks ` | Display all available hooks in the current repository
133
133
` -r ` /` --run ` | Run pre-commit hook against all tracked files in repository
134
+ ` --diff <ref> ` | Run pre-commit hook against all changed files relative to ` <ref> `
134
135
` -t ` /` --template-dir ` | Print location of template directory
135
136
` -h ` /` --help ` | Show command-line flag documentation
136
137
` -v ` /` --version ` | Show version
Original file line number Diff line number Diff line change 2
2
3
3
# Defines the gem version.
4
4
module Overcommit
5
- VERSION = '0.65 .0'
5
+ VERSION = '0.66 .0'
6
6
end
You can’t perform that action at this time.
0 commit comments