style: optimize the limit of githook commit

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw)
2023-05-15 11:35:38 +08:00
committed by Xinwei Xiong(cubxxw-openim)
parent 3d431abf30
commit ad1fe42352
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -120,6 +120,7 @@ MAKEFLAGS += --no-print-directory
endif
# Copy githook scripts when execute makefile
# TODO! GIT_FILE_SIZE_LIMIT=42000000 git commit -m "This commit is allowed file sizes up to 42MB"
COPY_GITHOOK:=$(shell cp -f script/githooks/* .git/hooks/; chmod +x .git/hooks/*)
# COMMA: Concatenate multiple strings to form a list of strings