diff options
Diffstat (limited to 'lisp/magit-commit.el')
| -rw-r--r-- | lisp/magit-commit.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/magit-commit.el b/lisp/magit-commit.el index 681c7c6..b804bca 100644 --- a/lisp/magit-commit.el +++ b/lisp/magit-commit.el @@ -337,8 +337,7 @@ depending on the value of option `magit-commit-squash-confirm'." magit-commit-squash-confirm)))) (let ((magit-commit-show-diff nil)) (push (concat option commit) args) - (unless edit - (push "--no-edit" args)) + (push (if edit "--edit" "--no-edit") args) (if rebase (magit-with-editor (magit-call-git |
