From 34598198c009ab4f4cc267d49c5413a68f4a081f Mon Sep 17 00:00:00 2001 From: Tracey Clark Date: Sun, 28 Dec 2025 13:23:44 -0600 Subject: [PATCH] chore: Fix debug output --- git_tidy_local_branches.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/git_tidy_local_branches.sh b/git_tidy_local_branches.sh index e578f8f..64aa743 100755 --- a/git_tidy_local_branches.sh +++ b/git_tidy_local_branches.sh @@ -4,7 +4,8 @@ git remote prune origin GONE_BRANCHES=$(git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}') -echo "[DEBUG]: $GONE_BRANCHES" +echo "[DEBUG] gone branches:" +echo "$GONE_BRANCHES" if [ -z "$GONE_BRANCHES" ]; then echo "Could not find any local branches where the remote is gone" @@ -22,7 +23,7 @@ else fi if [ "$FAILED_TO_DELETE" = "true" ]; then -# echo "error: Some local branches are not fully merged." + echo "error: Some local branches are not fully merged." echo echo "If you are sure you want to delete all branches above, run 'git-glean -f'" fi