Report current branch in prompt, so we know why frantically
hitting TAB doesn't help with completing a branch name.

Signed-off-by: Pieter Praet <[email protected]>
---
 magit.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/magit.el b/magit.el
index b4cf258..9d5d003 100644
--- a/magit.el
+++ b/magit.el
@@ -4740,7 +4740,7 @@ (defun magit-maybe-create-local-tracking-branch (rev)
   (interactive
    (list (let ((current-branch (magit-get-current-branch))
                (default (magit-default-rev)))
-           (magit-read-rev "Switch to"
+           (magit-read-rev (format "Switch from '%s' to" current-branch)
                            (unless (string= current-branch default)
                              default)
                            (if current-branch
-- 
1.7.11.1

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to