chore: Fix debug output
This commit is contained in:
parent
43c803a701
commit
34598198c0
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue