Function: vc-git-known-other-working-trees

vc-git-known-other-working-trees is a byte-compiled function defined in vc-git.el.gz.

Signature

(vc-git-known-other-working-trees)

Documentation

Implementation of known-other-working-trees backend function for Git.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defun vc-git-known-other-working-trees ()
  "Implementation of `known-other-working-trees' backend function for Git."
  (cl-loop with root = (file-truename
                        (expand-file-name (vc-git-root default-directory)))
           for (worktree) in (vc-git--worktrees)
           unless (equal worktree root)
           collect (abbreviate-file-name worktree)))