emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/magit e9614a336f 21/31: magit-commit-revise: Don't show di


From: Jonas Bernoulli
Subject: [nongnu] elpa/magit e9614a336f 21/31: magit-commit-revise: Don't show diff in log-select
Date: Sun, 26 Jan 2025 13:08:55 -0500 (EST)

branch: elpa/magit
commit e9614a336ffef61e8660188a95ae5d78674ed36d
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    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 f9cc7c9936..9469bcdbe7 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)))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]