diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-01-20 13:45:50 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-01-20 13:45:50 +0100 |
| commit | e9614a336ffef61e8660188a95ae5d78674ed36d (patch) | |
| tree | b70856233d5a4ff6cad04876e70fc476ab9d3ddf /lisp/magit-commit.el | |
| parent | 4876f1921e203d8c972a692b7ec5a42e1584a456 (diff) | |
magit-commit-revise: Don't show diff in log-select
Diffstat (limited to 'lisp/magit-commit.el')
| -rw-r--r-- | lisp/magit-commit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-commit.el b/lisp/magit-commit.el index f9cc7c9..9469bcd 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))))))) |
