Add a placeholder git pre-commit script for executing versioning rules
This commit is contained in:
parent
db21753d71
commit
5134038ac5
|
@ -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
|
Loading…
Reference in New Issue