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 <>
* vc-dir.el (vc-dir-refresh): Only update files.
* vc-git.el (vc-git--ls-files-state): Remove unused function.
* 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."
(unless (buffer-live-p vc-dir-process-buffer)
(setq vc-dir-process-buffer
(generate-new-buffer (format " *VC-%s* tmp status" backend))))
;; set the needs-update flag on all entries
(ewoc-map (lambda (info) (setf (vc-dir-fileinfo->needs-update info) t) nil)
;; set the needs-update flag on all non-directory entries
(ewoc-map (lambda (info)
(unless (vc-dir-fileinfo->directory info)
(setf (vc-dir-fileinfo->needs-update info) t) nil))
(lexical-let ((buffer (current-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