Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Git
Lorenz Leutgeb committed 24 days ago
commit 1169190037387e96e597b97a3e5c90c3e65242f5
parent 07fd9d3442d78521d7ebbd69c13b7ccb126c4419
1 file changed +1 -1
modified scripts/git-hook-template.sh
@@ -25,7 +25,7 @@ if [ ${#CHANGED_FILES[@]} -gt 0 ]; then

    git --no-pager diff "$BASE_BRANCH" -- "${SENSITIVE_FILES[@]}"

-
    # Read from /dev/tty because stdin is not attached to the terminal in git hooks.
+
    # Read from /dev/tty because stdin is not attached to the terminal in Git hooks.
    exec < /dev/tty

    read -r -p "⚠️ Do you want to continue executing the ${HOOK_NAME} hooks? [y/N] " response