Uncomment git validation hook

This commit is contained in:
Talia 2024-01-22 14:03:41 +01:00
parent 4000cea465
commit e366f12b56
1 changed files with 7 additions and 7 deletions

View File

@ -57,13 +57,13 @@ esac
if [ -n "$validate" ]; then if [ -n "$validate" ]; then
/bin/echo -e "\x1b[33mValidating commit\x1b[0m" /bin/echo -e "\x1b[33mValidating commit\x1b[0m"
/bin/echo -e "\x1b[2mλ $validate\x1b[0m" /bin/echo -e "\x1b[2mλ $validate\x1b[0m"
# if sh -c "$validate" if sh -c "$validate"
# then then
# /bin/echo -e "\x1b[32mValidation Passed!\x1b[0m" /bin/echo -e "\x1b[32mValidation Passed!\x1b[0m"
# else else
# error=1 error=1
# /bin/echo -e "\x1b[1;31mValidation Failed!\x1b[0m" /bin/echo -e "\x1b[1;31mValidation Failed!\x1b[0m"
# fi fi
fi fi
rm .git rm .git