Function: magit-diff-working-tree
magit-diff-working-tree is an interactive and natively compiled
function defined in magit-diff.el.
Signature
(magit-diff-working-tree &optional REV ARGS FILES)
Documentation
Show changes between the current working tree and the HEAD commit.
With a prefix argument show changes between the working tree and a commit read from the minibuffer.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-diff.el
;;;###autoload
(defun magit-diff-working-tree (&optional rev args files)
"Show changes between the current working tree and the `HEAD' commit.
With a prefix argument show changes between the working tree and
a commit read from the minibuffer."
(interactive
(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 'committed))