2017-05-01 16:25:20 +00:00
|
|
|
$OpenBSD: patch-lisp_vc_vc_el,v 1.2 2017/05/01 16:25:20 jca Exp $
|
2016-10-13 15:57:24 +00:00
|
|
|
|
|
|
|
Drop messages that slow down VC with big repositories.
|
|
|
|
|
2017-05-01 16:25:20 +00:00
|
|
|
--- lisp/vc/vc.el.orig Mon Nov 21 14:16:04 2016
|
|
|
|
+++ lisp/vc/vc.el Mon Dec 5 14:26:50 2016
|
|
|
|
@@ -2901,13 +2901,11 @@ to provide the `find-revision' operation instead."
|
2016-10-13 15:57:24 +00:00
|
|
|
(defun vc-file-tree-walk (dirname func &rest args)
|
|
|
|
"Walk recursively through DIRNAME.
|
|
|
|
Invoke FUNC f ARGS on each VC-managed file f underneath it."
|
|
|
|
- (vc-file-tree-walk-internal (expand-file-name dirname) func args)
|
|
|
|
- (message "Traversing directory %s...done" dirname))
|
|
|
|
+ (vc-file-tree-walk-internal (expand-file-name dirname) func args))
|
|
|
|
|
|
|
|
(defun vc-file-tree-walk-internal (file func args)
|
|
|
|
(if (not (file-directory-p file))
|
|
|
|
(when (vc-backend file) (apply func file args))
|
|
|
|
- (message "Traversing directory %s..." (abbreviate-file-name file))
|
|
|
|
(let ((dir (file-name-as-directory file)))
|
|
|
|
(mapcar
|
|
|
|
(lambda (f) (or
|