Function: magit-anything-modified-p

magit-anything-modified-p is a byte-compiled function defined in magit-git.el.

Signature

(magit-anything-modified-p &optional IGNORE-SUBMODULES &rest FILES)

Documentation

Return t if there are any staged or unstaged changes.

If optional FILES is non-nil, then only changes to those files are considered.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit-anything-modified-p (&optional ignore-submodules &rest files)
  "Return t if there are any staged or unstaged changes.
If optional FILES is non-nil, then only changes to those files
are considered."
  (or (apply #'magit-anything-staged-p   ignore-submodules files)
      (apply #'magit-anything-unstaged-p ignore-submodules files)))