Subject: bug#8288: vc-git slow on large repository

From: Jason Merrill <[email-masked]>
Date: Tue, 14 Jun 2011 19:40:40 -0400

This issue has been very frustrating for me with GCC git; when the 
repository isn't in the cache saving a file can cause emacs to freeze 
for about 10 seconds.  I work around it with

(defun vc-git-state-heuristic (file)
   "Just claim we're up to date."
   'up-to-date)