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).
This commit is contained in:
Lars Ingebrigtsen 2022-03-07 03:47:13 +01:00
parent e06319b39d
commit e07a36f267

View file

@ -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,