Skip to content

Commit

Permalink
Print git commands when execute clear-local
Browse files Browse the repository at this point in the history
  • Loading branch information
extsoft committed Sep 14, 2019
1 parent ec89d0e commit 9fdcd94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libexec/git-elegant-clear-local
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ MESSAGE
default() {
git-verbose checkout ${MASTER}
local cmd="git branch -lvv | grep gone | awk {'print \$1'}"
__loop "git branch -d" $(eval "$cmd") || \
__loop "git-verbose branch -d" $(eval "$cmd") || \
(
info-text "There are unmerged branches:" && \
__loop "info-text -" $(eval "$cmd") && \
__batch "Do you want to delete all unmerged branches?" "Delete this?" "git branch -D" $(eval "$cmd")
__batch "Do you want to delete all unmerged branches?" "Delete this?" "git-verbose branch -D" $(eval "$cmd")
)
}

0 comments on commit 9fdcd94

Please sign in to comment.