Commit a5a5eb40 authored by Jonas Bernoulli's avatar Jonas Bernoulli

magit-commit-diff: handle magit-rebase-reword-commit

parent a91c8194
......@@ -330,7 +330,8 @@ depending on the value of option `magit-commit-squash-confirm'."
(magit-commit
(apply-partially 'magit-diff-staged nil))
((magit-commit-amend
magit-commit-reword)
magit-commit-reword
magit-rebase-reword-commit)
'magit-diff-while-amending))))
(-when-let (diff-buffer (magit-mode-get-buffer 'magit-diff-mode))
;; This window just started displaying the commit message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment