summaryrefslogtreecommitdiff
path: root/.private/post-rewrite.sh
diff options
context:
space:
mode:
Diffstat (limited to '.private/post-rewrite.sh')
-rwxr-xr-x.private/post-rewrite.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.private/post-rewrite.sh b/.private/post-rewrite.sh
index 0ac4847..60ec3e4 100755
--- a/.private/post-rewrite.sh
+++ b/.private/post-rewrite.sh
@@ -14,6 +14,10 @@
# derivative branch, such as one you would create for private development.
#
+if [ -n "$LIBUSB_SKIP_NANO" ]; then
+ exit 0
+fi
+
case "$1" in
amend)
# Check if a .amend exists. If none, create one and warn user to re-commit.