mariadb/BitKeeper/triggers/pre-commit
serg@sergbook.mylan 242ee84fb9 triggers magic
enforce REAL_EMAIL
2003-06-18 14:12:50 +02:00

12 lines
231 B
Bash
Executable file

#!/bin/sh
if [ "$REAL_EMAIL" = "" ]
then
echo "Error: you must set REAL_EMAIL in your profile"
echo "e.g.: export REAL_EMAIL='Joe Dow <joe@foo.bar>'"
echo ""
echo "Commit FAILED!"
echo "Set REAL_EMAIL and retry."
exit 1
fi