Commit 29ce30b3 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(vc-dir-refresh): Only update files.

parent 8c3d7147
2008-07-07 Dan Nicolaescu <dann@ics.uci.edu> 2008-07-07 Dan Nicolaescu <dann@ics.uci.edu>
* vc-dir.el (vc-dir-refresh): Only update files.
* vc-git.el (vc-git--ls-files-state): Remove unused function. * vc-git.el (vc-git--ls-files-state): Remove unused function.
* vc-bzr.el (vc-bzr-after-dir-status): Deal with execute bit changes. * vc-bzr.el (vc-bzr-after-dir-status): Deal with execute bit changes.
......
...@@ -955,8 +955,10 @@ Throw an error if another update process is in progress." ...@@ -955,8 +955,10 @@ Throw an error if another update process is in progress."
(unless (buffer-live-p vc-dir-process-buffer) (unless (buffer-live-p vc-dir-process-buffer)
(setq vc-dir-process-buffer (setq vc-dir-process-buffer
(generate-new-buffer (format " *VC-%s* tmp status" backend)))) (generate-new-buffer (format " *VC-%s* tmp status" backend))))
;; set the needs-update flag on all entries ;; set the needs-update flag on all non-directory entries
(ewoc-map (lambda (info) (setf (vc-dir-fileinfo->needs-update info) t) nil) (ewoc-map (lambda (info)
(unless (vc-dir-fileinfo->directory info)
(setf (vc-dir-fileinfo->needs-update info) t) nil))
vc-ewoc) vc-ewoc)
(lexical-let ((buffer (current-buffer))) (lexical-let ((buffer (current-buffer)))
(with-current-buffer vc-dir-process-buffer (with-current-buffer vc-dir-process-buffer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment