Function: vc--read-branch-to-log

vc--read-branch-to-log is a byte-compiled function defined in vc.el.gz.

Signature

(vc--read-branch-to-log &optional FILES)

Documentation

Read the name of a branch to log.

FILES, if supplied, should be a list of file names.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
(defun vc--read-branch-to-log (&optional files)
  "Read the name of a branch to log.
FILES, if supplied, should be a list of file names."
  (let ((branch (vc-read-revision "Branch to log: " files)))
    (when (string-empty-p branch)
      (user-error "No branch specified"))
    (list branch)))