Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

305 B
Raw Blame
#!/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