mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
forbid-new-submodules: fix triggering failure when only a submodule is committed (without any other file); support --from-ref and --to-ref; fixes #609
This commit is contained in:
parent
8c1183c0c8
commit
10c5e4e166
9 changed files with 65 additions and 25 deletions
|
|
@ -154,6 +154,7 @@
|
|||
language: python
|
||||
entry: forbid-new-submodules
|
||||
description: Prevent addition of new git submodules
|
||||
types: [directory]
|
||||
- id: mixed-line-ending
|
||||
name: Mixed line ending
|
||||
description: Replaces or checks mixed line ending
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue