summaryrefslogtreecommitdiffstats
path: root/crawl-ref/git-hooks/post-receive
blob: 5125e73991677537b1aac9d99f14f87e68417e9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

GIT_DIR=$(git rev-parse --git-dir 2>/dev/null)
if [ -z "$GIT_DIR" ]; then
	echo >&2 "fatal: post-receive: GIT_DIR not set"
	exit 1
fi

$GIT_DIR/hooks/crawl-ref-email "$@"
#$GIT_DIR/hooks/crawl-ref-cia "$@"

# BuildBot
#$GIT_DIR/hooks/git_buildbot.py "$@"