diff options
Diffstat (limited to 'lisp/vc-git.el')
-rw-r--r-- | lisp/vc-git.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/vc-git.el b/lisp/vc-git.el index 4c5bf866370..c0cfc1e88cc 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el @@ -111,6 +111,13 @@ (eval-when-compile (require 'cl) (require 'vc)) +;; XXX when this backend is considered sufficiently reliable this +;; should be moved to vc-hooks.el +(add-to-list 'vc-handled-backends 'GIT) +(eval-after-load "vc" + '(add-to-list 'vc-directory-exclusion-list ".git" t)) + + (defvar git-commits-coding-system 'utf-8 "Default coding system for git commits.") |