Function: tagref--in-git-repo-p

tagref--in-git-repo-p is a natively compiled function defined in tagref.el.

Signature

(tagref--in-git-repo-p)

Documentation

Return non-nil if default-directory is in a git repository.

Source Code

;; Defined in /nix/store/mnch55hf9yszlb4dvfqhbqf0840v41qh-emacs-packages-deps/share/emacs/site-lisp/tagref.el
(defun tagref--in-git-repo-p ()
  "Return non-nil if `default-directory' is in a git repository."
  (locate-dominating-file default-directory ".git"))