aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc-git.el
diff options
context:
space:
mode:
authorEric S. Raymond2007-12-28 08:59:50 +0000
committerEric S. Raymond2007-12-28 08:59:50 +0000
commit18e1f24981ba72ede1fb434568e18ed0e46debbd (patch)
tree4e753b9c938b377f2904f2640ff4bb2b385a1f06 /lisp/vc-git.el
parenta50d124451e48606aef655c0cde38b4cbf139988 (diff)
downloademacs-18e1f24981ba72ede1fb434568e18ed0e46debbd.tar.gz
emacs-18e1f24981ba72ede1fb434568e18ed0e46debbd.zip
* 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 @@
152 152
153(defun vc-git-dir-state (dir) 153(defun vc-git-dir-state (dir)
154 (with-temp-buffer 154 (with-temp-buffer
155 (buffer-disable-undo) ;; Because these buffers can get huge
155 (vc-git-command (current-buffer) nil nil "ls-files" "-t" "-c" "-m" "-o") 156 (vc-git-command (current-buffer) nil nil "ls-files" "-t" "-c" "-m" "-o")
156 (goto-char (point-min)) 157 (goto-char (point-min))
157 (let ((status-char nil) 158 (let ((status-char nil)