fi
}
-function installglobal {
+function installglobal
+{
TEMPLATE="$HOME/.git-template-with-git-hooks"
if [ ! -d "${TEMPLATE}" ] ; then
DEFAULT=/usr/share/git-core/templates
echo "Git global config init.templatedir is now set to ${TEMPLATE}"
}
-function uninstallglobal {
+function uninstallglobal
+{
git config --global --unset init.templatedir
}
-function report_error {
+function report_error
+{
echo "Hook failed: $last_run_hook"
exit 1
+
}
case $1 in