From e07a36f2672d25a9ca7974a0a34e95e565304227 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 7 Mar 2022 03:47:13 +0100 Subject: [PATCH] Show SVN status on "." directories, too * lisp/vc/vc-svn.el (vc-svn-after-dir-status): Allow tracking state of the "." directory, too, since they may have modified properties (bug#7861). --- lisp/vc/vc-svn.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/vc/vc-svn.el b/lisp/vc/vc-svn.el index b38a676acbd..3cf692bfdaa 100644 --- a/lisp/vc/vc-svn.el +++ b/lisp/vc/vc-svn.el @@ -201,8 +201,8 @@ switches." ;; FIXME are there other possible combinations? (cond ((eq state 'edited) (setq state 'needs-merge)) ((not state) (setq state 'needs-update)))) - (when (and state (not (string= "." filename))) - (setq result (cons (list filename state) result))))) + (when state + (setq result (cons (list filename state) result))))) (funcall callback result))) ;; dir-status-files called from vc-dir, which loads vc, -- 2.39.2