summaryrefslogtreecommitdiff
path: root/lisp/vc-git.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>2007-12-28 08:59:50 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>2007-12-28 08:59:50 +0000
commit18e1f24981ba72ede1fb434568e18ed0e46debbd (patch)
tree4e753b9c938b377f2904f2640ff4bb2b385a1f06 /lisp/vc-git.el
parenta50d124451e48606aef655c0cde38b4cbf139988 (diff)
downloademacs-18e1f24981ba72ede1fb434568e18ed0e46debbd.tar.gz
* vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el, vc-mcvs.el, vc-svn.el:
Modify all instances of the dir-state back-end method to suppress keeping undo lists on the buffers holding astatus output, which csn get extremely large.
Diffstat (limited to 'lisp/vc-git.el')
-rw-r--r--lisp/vc-git.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index 6fd6849281b..722e352f4f0 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -152,6 +152,7 @@
(defun vc-git-dir-state (dir)
(with-temp-buffer
+ (buffer-disable-undo) ;; Because these buffers can get huge
(vc-git-command (current-buffer) nil nil "ls-files" "-t" "-c" "-m" "-o")
(goto-char (point-min))
(let ((status-char nil)