/
githubmirror
/
zulip
Обзор
Документация
Войти
/
githubmirror
/
zulip
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tools/setup-git-repo
12 строк
305 B
Arun Kushwaha
tooling: Enable strict shell mode in selected scripts.
21 янв 2026, 20:53
Не верифицирован
21 янв 2026, 20:53
19e9a4e
Код
Авторство
О чём код?
#!/usr/bin/env bash set -euo pipefail if ! [ -d ".git/hooks/" ]; then echo "Error: Could not find .git/hooks directory" echo "Please re-run this script from the root of your zulip.git checkout" exit 1 fi for hook in pre-commit commit-msg; do ln -snf ../../tools/"$hook" .git/hooks/ done