Use (magit-read-rev) for "Interactively rebase to:" message
Now it has tab completion like the switch branch command and others which use (magit-read-rev). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
This commit is contained in:
parent
fb5e8eb382
commit
40dc79f33b
1 changed files with 1 additions and 1 deletions
2
magit.el
2
magit.el
|
@ -3919,7 +3919,7 @@ Return values:
|
||||||
(unwind-protect
|
(unwind-protect
|
||||||
(magit-run-git-async "rebase" "-i"
|
(magit-run-git-async "rebase" "-i"
|
||||||
(or (and commit (concat commit "^"))
|
(or (and commit (concat commit "^"))
|
||||||
(read-string "Interactively rebase to: ")))
|
(magit-read-rev "Interactively rebase to" (magit-guess-branch))))
|
||||||
(if old-editor
|
(if old-editor
|
||||||
(setenv "GIT_EDITOR" old-editor)))))
|
(setenv "GIT_EDITOR" old-editor)))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue