From a8a2e084f6b796d88e932c51faffa46f78760856 Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Sat, 11 May 2024 10:30:20 +0800 Subject: [PATCH] Fix bug in pre-commit hook code --- git/hooks/pre-commit.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/git/hooks/pre-commit.sh b/git/hooks/pre-commit.sh index 361817c..9256ae2 100755 --- a/git/hooks/pre-commit.sh +++ b/git/hooks/pre-commit.sh @@ -1,5 +1,6 @@ #!/bin/bash +declare -i status status=0 PRECIOUS=$(which precious)