1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

triggers magic

enforce REAL_EMAIL
This commit is contained in:
serg@sergbook.mylan
2003-06-18 14:12:50 +02:00
parent 4b80090f19
commit 242ee84fb9
4 changed files with 13 additions and 6 deletions

12
BitKeeper/triggers/pre-commit Executable file
View File

@ -0,0 +1,12 @@
#!/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