Function: magit-repolist--get-repos

magit-repolist--get-repos is a byte-compiled function defined in magit-repos.el.

Signature

(magit-repolist--get-repos &optional CHAR)

Documentation

Return marked repositories or all if none are marked.

If optional CHAR is non-nil, then only return repositories marked with that character. If no repositories are marked then ask whether to act on all repositories instead.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-repos.el
(defun magit-repolist--get-repos (&optional char)
  "Return marked repositories or `all' if none are marked.
If optional CHAR is non-nil, then only return repositories
marked with that character.  If no repositories are marked
then ask whether to act on all repositories instead."
  (or (magit-repolist--marked-repos char)
      (if (magit-confirm 'repolist-all
            "Nothing selected.  Act on ALL displayed repositories")
          'all
        (user-error "Abort"))))