; * lisp/vc/vc-dir.el (vc-dir-update): Add an assertion.

This commit is contained in:
Sean Whitton 2026-06-01 09:51:08 +01:00
parent 51f823a3af
commit 2c2f1c00ac

View file

@ -646,7 +646,8 @@ Also update some VC file properties from ENTRIES."
(or (null next)
(vc-dir-fileinfo->directory (ewoc-data next)))))
(ewoc-delete vc-ewoc crt)))
(setq crt prev))))))
(setq crt prev))))
(cl-assert (null to-remove))))
;; Update VC file properties.
(pcase-dolist (`(,file ,state ,_extra) entries)
(vc-file-setprop file 'vc-backend