aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/RelNotes/4.0.0.org3
-rw-r--r--lisp/magit-diff.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/RelNotes/4.0.0.org b/docs/RelNotes/4.0.0.org
index 30e8c8c..682e81e 100644
--- a/docs/RelNotes/4.0.0.org
+++ b/docs/RelNotes/4.0.0.org
@@ -171,6 +171,9 @@
- Improve the diff shown while committing. #3246
+- ~magit-reverse~ is now permitted in diff buffers between HEAD and
+ the working tree. e94b6ebfdb #5090
+
- Register a ~bookmark-handler-type~ for our handler. adf5848ea7
- Added new option ~magit-log-merged-commit-count~. #4711
diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index 5ad8786..5aeba13 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -1235,7 +1235,7 @@ a commit read from the minibuffer."
(cons (and current-prefix-arg
(magit-read-branch-or-commit "Diff working tree and commit"))
(magit-diff-arguments)))
- (magit-diff-setup-buffer (or rev "HEAD") nil args files 'unstaged))
+ (magit-diff-setup-buffer (or rev "HEAD") nil args files 'committed))
;;;###autoload
(defun magit-diff-staged (&optional rev args files)