Variable: magit-repolist-sort-key

magit-repolist-sort-key is a customizable variable defined in magit-repos.el.

Value

("Path")

Documentation

Initial sort key for buffer created by magit-list-repositories.

If nil, no additional sorting is performed. Otherwise, this should be a cons cell (NAME . FLIP). NAME is a string matching one of the column names in magit-repolist-columns. FLIP, if non-nil, means to invert the resulting sort.

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

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-repos.el
(defcustom magit-repolist-sort-key '("Path" . nil)
  "Initial sort key for buffer created by `magit-list-repositories'.
If nil, no additional sorting is performed.  Otherwise, this
should be a cons cell (NAME . FLIP).  NAME is a string matching
one of the column names in `magit-repolist-columns'.  FLIP, if
non-nil, means to invert the resulting sort."
  :package-version '(magit . "3.2.0")
  :group 'magit-repolist
  :type '(choice (const nil)
                 (cons (string :tag "Column name")
                       (boolean :tag "Flip order"))))