1
0
forked from mirrors/0ad

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:
Dunedan
2025-05-22 20:43:52 +02:00
parent 1985fefcbd
commit efdc1fab0a
+4
View File
@@ -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