mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-20 23:44:08 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user