Announcement mail: https://lists.gnu.org/archive/html/info-gnu/2019-04/msg00003.html Works fine on amd64 and sparc64. Tests by Timo Myyra, sunil@, Nam Nguyen, krw@ and me.
23 lines
911 B
Plaintext
23 lines
911 B
Plaintext
$OpenBSD: patch-lisp_vc_vc_el,v 1.4 2019/04/22 16:34:46 jca Exp $
|
|
|
|
Drop messages that slow down VC with big repositories.
|
|
|
|
Index: lisp/vc/vc.el
|
|
--- lisp/vc/vc.el.orig
|
|
+++ lisp/vc/vc.el
|
|
@@ -2940,13 +2940,11 @@ to provide the `find-revision' operation instead."
|
|
(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
|