From 167e619b7bd88dd836fea2b9977754b0346003ba Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Mon, 7 Apr 2025 19:25:46 +0200 Subject: [PATCH] ci: fix typo in pre-receive hook script filename --- hooks/pre-recieve.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/pre-recieve.sh b/hooks/pre-recieve.sh index a454c8d..0a809d5 100644 --- a/hooks/pre-recieve.sh +++ b/hooks/pre-recieve.sh @@ -44,7 +44,7 @@ while read -r OLD_REV NEW_REV REF_NAME; do # Handle new branch pushes differently if [[ "$OLD_REV" = "0000000000000000000000000000000000000000" ]]; then echo -e "${YELLOW}New branch detected: $REF_NAME${NC}" - + # For new branches, only validate the last 10 commits by default COMMIT_COUNT=$(git rev-list --count "$NEW_REV") if [ "$COMMIT_COUNT" -gt 10 ]; then