Add a placeholder git pre-commit script for executing versioning rules

This commit is contained in:
Matt McWilliams 2024-02-17 14:16:57 +00:00
parent db21753d71
commit 5134038ac5
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/bash
CHANGE_DIR="./ino/contact_printer"
if git diff --cached --name-only | grep --quiet "${CHANGE_DIR}"
then
echo "none"
exit 0
fi