From 9db0503129f5919d7cb620018443c6f9d4c4ff7c Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Thu, 3 Jul 2025 06:01:58 +1000 Subject: [PATCH] Clarify check-added-large-files as "kilobytes" Fix https://github.com/pre-commit/pre-commit-hooks/issues/1170 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2556f239..9ca73ad8 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Add this to your `.pre-commit-config.yaml` #### `check-added-large-files` Prevent giant files from being committed. - - Specify what is "too large" with `args: ['--maxkb=123']` (default=500kB). + - Specify what is "too large", in kilobytes, with `args: ['--maxkb=123']` (default=500kB). - Limits checked files to those indicated as staged for addition by git. - If `git-lfs` is installed, lfs files will be skipped (requires `git-lfs>=2.2.1`)