# HG changeset patch # User Dan Nicolaescu # Date 1185639481 0 # Node ID dc356155b0a7d20d351610ccb1718903f2069539 # Parent c6e2dfb349bed8818b1032661a35b681af5db6b1 *** empty log message *** diff -r c6e2dfb349be -r dc356155b0a7 lisp/vc-git.el --- 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.")