branch: elpa/magit
commit e9614a336ffef61e8660188a95ae5d78674ed36d
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
magit-commit-revise: Don't show diff in log-select
---
lisp/magit-commit.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/magit-commit.el b/lisp/magit-commit.el
index f9cc7c9936e..9469bcdbe79 100644
--- a/lisp/magit-commit.el
+++ b/lisp/magit-commit.el
@@ -415,7 +415,7 @@ Like `magit-commit-squash' but also run a `--autofixup'
rebase."
(format "Type %%p on a commit to %s into it,"
(substring option 2))
nil nil nil commit))
- (when magit-commit-show-diff
+ (when (and magit-commit-show-diff (not nopatch))
(let ((magit-display-buffer-noselect t))
(apply #'magit-diff-staged nil (magit-diff-arguments)))))))