From: Dan Nicolaescu Date: Sat, 28 Jul 2007 16:18:01 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-pretest-22.1.90~1152 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1bee149590570b1e86079c49c6bf805088daf882;p=emacs.git *** empty log message *** --- 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.")