Function: vc-git-create-tag

vc-git-create-tag is a byte-compiled function defined in vc-git.el.gz.

Signature

(vc-git-create-tag DIR NAME BRANCHP)

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
;;; TAG SYSTEM

(defun vc-git-create-tag (dir name branchp)
  (let ((default-directory dir))
    (and (vc-git-command nil 0 nil "update-index" "--refresh")
         (if branchp
             (vc-git-command nil 0 nil "checkout" "-b" name)
           (vc-git-command nil 0 nil "tag" name)))))