Variable: vc-git-revision-complete-only-branches
vc-git-revision-complete-only-branches is a customizable variable
defined in vc-git.el.gz.
Value
nil
Documentation
Control whether tags are returned by revision completion for Git.
When non-nil, only branches and remotes will be returned by
vc-git-revision-completion-table. This is used by various VC
commands when completing branch names. When nil, tags are also
included in the completions.
This variable was added, or its default value changed, in Emacs 28.1.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defcustom vc-git-revision-complete-only-branches nil
"Control whether tags are returned by revision completion for Git.
When non-nil, only branches and remotes will be returned by
`vc-git-revision-completion-table'. This is used by various VC
commands when completing branch names. When nil, tags are also
included in the completions."
:type 'boolean
:version "28.1")