mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Add a pre-commit hook to check for large files
This checks there are no large files being committed, which aren't stored in git-lfs.
This commit is contained in:
parent
1985fefcbd
commit
efdc1fab0a
1 changed files with 4 additions and 0 deletions
|
|
@ -3,6 +3,10 @@ repos:
|
|||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
args:
|
||||
- --maxkb=1024
|
||||
- --enforce-all
|
||||
- id: check-case-conflict
|
||||
- id: check-executables-have-shebangs
|
||||
- id: check-json
|
||||
|
|
|
|||
Loading…
Reference in a new issue