emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit b7daf6a2ff: magit-branch-delete: Improve "also


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit b7daf6a2ff: magit-branch-delete: Improve "also on remote?" prompt
Date: Sun, 19 Mar 2023 13:00:49 -0400 (EDT)

branch: elpa/git-commit
commit b7daf6a2ff00f7752d05dec17f2f5a825954b151
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]