#!/bin/sh
#
# An example hook script to check the commit log message.
# Called by git-commit with one argument, the name of the file
# that has the commit message.  The hook should exit with non-zero
# status after issuing an appropriate message if it wants to stop the
# commit.  The hook is allowed to edit the commit message file.
#
# To enable this hook, make this file executable.



# Scmbug_STANZA_START
#
#
# Call the Scmbug integration glue
COMMIT_LOG_FILE=$1
REPOS="Scmbug_STANZA_REPOS"

/usr/bin/perl -I ${REPOS}/.git/hooks/lib/scmbug ${REPOS}/.git/hooks/bin/scmbug_activity.pl ${REPOS}/.git/hooks/etc/scmbug/glue.conf activity_verify ${COMMIT_LOG_FILE} >&2

exit $?
#
#
# Scmbug_STANZA_STOP
