Variable: tramp-repository-branch

tramp-repository-branch is a variable defined in trampver.el.gz.

Value

nil

Documentation

The repository branch of the Tramp sources.

Source Code

;; Defined in /usr/src/emacs/lisp/net/trampver.el.gz
(defconst tramp-repository-branch
  (ignore-errors
    ;; Suppress message from `emacs-repository-get-branch'.  We must
    ;; also handle out-of-tree builds.
    (let ((inhibit-message t)
	  (dir (or (locate-dominating-file (locate-library "tramp") ".git")
		   source-directory))
	  debug-on-error)
      ;; `emacs-repository-get-branch' has been introduced with Emacs 27.1.
      (with-no-warnings
	(and (stringp dir) (file-directory-p dir)
	     (executable-find "git")
	     (emacs-repository-get-branch dir)))))
  "The repository branch of the Tramp sources.")