Variable: magit-submodule-list-predicate

magit-submodule-list-predicate is a customizable variable defined in magit-submodule.el.

Value

always

Documentation

Predicate used to determine whether to include a module in the list.

Suitable values incluce always and magit-submodule-list-module-populated-p.

This variable was added, or its default value changed, in magit version 4.7.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/magit-submodule.el
(defcustom magit-submodule-list-predicate #'always
  "Predicate used to determine whether to include a module in the list.
Suitable values incluce `always' and `magit-submodule-list-module-populated-p'."
  :package-version '(magit . "4.7.0")
  :group 'magit-repolist
  :type '(choice (function-item always)
                 (function-item magit-submodule-list-module-populated-p)
                 (function)))