mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
triggers magic
enforce REAL_EMAIL
This commit is contained in:
@@ -97,6 +97,7 @@ sasha@mysql.sashanet.com
|
||||
serg@build.mysql2.com
|
||||
serg@serg.mylan
|
||||
serg@serg.mysql.com
|
||||
serg@sergbook.mylan
|
||||
serg@sergbook.mysql.com
|
||||
sinisa@rhols221.adsl.netsonic.fi
|
||||
tfr@beta.frontier86.ee
|
||||
|
@@ -1,3 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
echo "Test: post-incoming works"
|
@@ -1,3 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
echo "Test: post-outgoing works"
|
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