#!/bin/bash | |
# The following is required for site integration, do not remove/modify. | |
# Place user hook code in post-commit-user and it will be called from here. | |
curl -s http://domain.net/auth/refresh_repo/p/test/code-1/ | |
DIR="$(dirname "${BASH_SOURCE[0]}")" | |
if [ -x $DIR/post-commit-user ]; then exec $DIR/post-commit-user "$@" | |
fi |