Function: vc-git--empty-db-p

vc-git--empty-db-p is a byte-compiled function defined in vc-git.el.gz.

Signature

(vc-git--empty-db-p)

Documentation

Check if the git db is empty (no commit done yet).

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defun vc-git--empty-db-p ()
  "Check if the git db is empty (no commit done yet)."
  (let (process-file-side-effects)
    (not (eq 0 (vc-git--call nil "rev-parse" "--verify" "HEAD")))))