#A0000173290.15 Fix sullo script di hook che legge username e email
This commit is contained in:
@@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
# This example catches duplicate Signed-off-by lines.
|
# This example catches duplicate Signed-off-by lines.
|
||||||
|
|
||||||
USER_EMAIL=$(git log -1 --format=format:%ae HEAD)
|
USER_EMAIL=$(git config user.email)
|
||||||
USER_NAME=$(git log -1 --format=format:%an HEAD)
|
USER_NAME=$(git config user.name)
|
||||||
COMMIT_MESSAGE=$(cat $1)
|
COMMIT_MESSAGE=$(cat $1)
|
||||||
|
|
||||||
if [[ $COMMIT_MESSAGE == "#"* ]];
|
if [[ $COMMIT_MESSAGE == "#"* ]];
|
||||||
|
|||||||
Reference in New Issue
Block a user