branch: elpa/git-commit commit b7daf6a2ff00f7752d05dec17f2f5a825954b151 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-branch-delete: Improve "also on remote?" prompt Closes #4905. --- lisp/magit-branch.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/magit-branch.el b/lisp/magit-branch.el index 4b8b100ab3..73f7bbf50f 100644 --- a/lisp/magit-branch.el +++ b/lisp/magit-branch.el @@ -593,7 +593,9 @@ prompt is confusing." (offset (1+ (length remote)))) (cond ((magit-confirm 'delete-branch-on-remote - "Delete %s on the remote (not just locally)" + (format "Deleting local %s. Also delete on %s" + (magit-ref-fullname (car branches)) + remote) "Delete %i branches on the remote (not just locally)" 'noabort branches) ;; The ref may actually point at another rev on the remote,