Variable: vc-git-show-stash

vc-git-show-stash is a customizable variable defined in vc-git.el.gz.

Value

t

Documentation

How much of the git stash list to show by default.

Default t means all, otherwise an integer specifying the maximum number to show. A text button is always shown allowing you to toggle display of the entire list.

This variable was added, or its default value changed, in Emacs 27.1.

Probably introduced at or before Emacs version 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defcustom vc-git-show-stash t
  "How much of the git stash list to show by default.
Default t means all, otherwise an integer specifying the maximum
number to show.  A text button is always shown allowing you to
toggle display of the entire list."
  :type `(choice (const :tag "All" t)
                 (integer :tag "Limit"
                          :validate
                          ,(lambda (widget)
                             (unless (>= (widget-value widget) 0)
                               (widget-put widget :error
                                           "Invalid value: must be a non-negative integer")
                               widget))))
  :version "27.1")