Function: vc-git-revision-table
vc-git-revision-table is a byte-compiled function defined in
vc-git.el.gz.
Signature
(vc-git-revision-table FILES)
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defun vc-git-revision-table (_files)
;; What about `files'?!? --Stef
(let (process-file-side-effects
(table (list "HEAD")))
(with-temp-buffer
(vc-git-command t nil nil "for-each-ref" "--format=%(refname)")
(goto-char (point-min))
(let ((regexp (if vc-git-revision-complete-only-branches
"^refs/\\(heads\\|remotes\\)/\\(.*\\)$"
"^refs/\\(heads\\|tags\\|remotes\\)/\\(.*\\)$")))
(while (re-search-forward regexp nil t)
(push (match-string 2) table))))
(nreverse table)))