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