aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-07 16:59:39 +0000
committerDan Nicolaescu2008-07-07 16:59:39 +0000
commit29ce30b372950087913bb311affe6654d632fc3b (patch)
treee0145d30871007d4a4eea7cb4a91da0ef10669fc
parent8c3d7147da1ffa024fce782ad071628d2d932ca0 (diff)
downloademacs-29ce30b372950087913bb311affe6654d632fc3b.tar.gz
emacs-29ce30b372950087913bb311affe6654d632fc3b.zip
(vc-dir-refresh): Only update files.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/vc-dir.el6
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3cda36fecba..5044be8c446 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12008-07-07 Dan Nicolaescu <dann@ics.uci.edu> 12008-07-07 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * vc-dir.el (vc-dir-refresh): Only update files.
4
3 * vc-git.el (vc-git--ls-files-state): Remove unused function. 5 * vc-git.el (vc-git--ls-files-state): Remove unused function.
4 6
5 * vc-bzr.el (vc-bzr-after-dir-status): Deal with execute bit changes. 7 * vc-bzr.el (vc-bzr-after-dir-status): Deal with execute bit changes.
diff --git a/lisp/vc-dir.el b/lisp/vc-dir.el
index dcb5f00c155..69117c8f2f3 100644
--- a/lisp/vc-dir.el
+++ b/lisp/vc-dir.el
@@ -955,8 +955,10 @@ Throw an error if another update process is in progress."
955 (unless (buffer-live-p vc-dir-process-buffer) 955 (unless (buffer-live-p vc-dir-process-buffer)
956 (setq vc-dir-process-buffer 956 (setq vc-dir-process-buffer
957 (generate-new-buffer (format " *VC-%s* tmp status" backend)))) 957 (generate-new-buffer (format " *VC-%s* tmp status" backend))))
958 ;; set the needs-update flag on all entries 958 ;; set the needs-update flag on all non-directory entries
959 (ewoc-map (lambda (info) (setf (vc-dir-fileinfo->needs-update info) t) nil) 959 (ewoc-map (lambda (info)
960 (unless (vc-dir-fileinfo->directory info)
961 (setf (vc-dir-fileinfo->needs-update info) t) nil))
960 vc-ewoc) 962 vc-ewoc)
961 (lexical-let ((buffer (current-buffer))) 963 (lexical-let ((buffer (current-buffer)))
962 (with-current-buffer vc-dir-process-buffer 964 (with-current-buffer vc-dir-process-buffer