From 40dc79f33b43e0e48997a2c0f0c3a6a00f05d8b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 31 May 2010 17:06:52 +0000 Subject: [PATCH] Use (magit-read-rev) for "Interactively rebase to:" message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now it has tab completion like the switch branch command and others which use (magit-read-rev). Signed-off-by: Ævar Arnfjörð Bjarmason --- magit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magit.el b/magit.el index 596b899c..3440e384 100644 --- a/magit.el +++ b/magit.el @@ -3919,7 +3919,7 @@ Return values: (unwind-protect (magit-run-git-async "rebase" "-i" (or (and commit (concat commit "^")) - (read-string "Interactively rebase to: "))) + (magit-read-rev "Interactively rebase to" (magit-guess-branch)))) (if old-editor (setenv "GIT_EDITOR" old-editor)))))