This is an automated email from the ASF dual-hosted git repository.

frankchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 76cf56eb746 Create git hooks directory (#18604)
76cf56eb746 is described below

commit 76cf56eb74656627cde2fce0f8be68852a58a8ea
Author: Virushade <[email protected]>
AuthorDate: Fri Oct 10 11:03:09 2025 +0800

    Create git hooks directory (#18604)
---
 hooks/install-hooks.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hooks/install-hooks.sh b/hooks/install-hooks.sh
index 506816b4764..62e0fc843a5 100755
--- a/hooks/install-hooks.sh
+++ b/hooks/install-hooks.sh
@@ -33,6 +33,7 @@ fi
 
 DRUID_ROOT=$1
 
+mkdir -p ${DRUID_ROOT}/.git/hooks
 cp_if_not_exist ${DRUID_ROOT}/hooks/run-all-in-dir.py 
${DRUID_ROOT}/.git/hooks/run-all-in-dir.py
 cp_if_not_exist ${DRUID_ROOT}/hooks/pre-commit 
${DRUID_ROOT}/.git/hooks/pre-commit
 cp_if_not_exist ${DRUID_ROOT}/hooks/pre-push ${DRUID_ROOT}/.git/hooks/pre-push


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to