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:
12
BitKeeper/triggers/pre-commit
Executable file
12
BitKeeper/triggers/pre-commit
Executable 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
|
||||
|
Reference in New Issue
Block a user