We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb738c2 commit df183d5Copy full SHA for df183d5
setup
@@ -11,13 +11,14 @@
11
# a dir
12
13
readonly submodule="$(dirname "$0")"
14
+# shellcheck disable=SC1090
15
source "${submodule}/captain-hook.sh"
16
pushd "${submodule}/.." >/dev/null
17
18
# To use the post-clone script, see https://github.com/git-hook/post-clone
19
readonly HOOKS=(pre-commit prepare-commit-msg commit-msg post-commit post-checkout pre-rebase post-clone)
20
-for hook in ${HOOKS[@]}; do
21
+for hook in "${HOOKS[@]}"; do
22
mkdir -p "${hook}.d"
23
ln -sf captain-hook/run-hook "${hook}"
24
done
0 commit comments