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