changeset 78356:dc356155b0a7

*** empty log message ***
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 28 Jul 2007 16:18:01 +0000
parents c6e2dfb349be
children fb9000547438
files lisp/vc-git.el
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-git.el	Sat Jul 28 16:04:10 2007 +0000
+++ b/lisp/vc-git.el	Sat Jul 28 16:18:01 2007 +0000
@@ -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.")