Add a way to skip the git hooks via an environment variable
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
diff --git a/.private/pre-commit.sh b/.private/pre-commit.sh
index 346d48a..48328f8 100755
--- a/.private/pre-commit.sh
+++ b/.private/pre-commit.sh
@@ -26,6 +26,10 @@
BRANCH_OFFSET=10000
################################################################################
+if [ -n "$LIBUSB_SKIP_NANO" ]; then
+ exit 0
+fi
+
if [ "$BASH_VERSION" = '' ]; then
TYPE_CMD="type git >/dev/null 2>&1"
else