From 3fdaae4600976f6bc2e02dfcc2c0b1605cff8dc3 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Thu, 23 Jan 2025 18:42:48 -0500 Subject: [PATCH] `set -x` for better debugging --- hooks/post-command | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hooks/post-command b/hooks/post-command index 0f24614..f9a48c4 100755 --- a/hooks/post-command +++ b/hooks/post-command @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Just for debugging. We'll get rid of this later. +set -x + set -euo pipefail shopt -s globstar extglob nullglob REPO_DIR="$(dirname $( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; ) )";