emacs-31 a057a32bf97: vc-dir-update: Remove assertion invalid on this branch

Sean Whitton <[email protected]> Tue, 30 Jun 2026 12:11:36 -0400 (EDT)
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: emacs-31
commit a057a32bf9700e862f412f508e93491d8b2ec309
Author: Sean Whitton <[email protected]>
Commit: Sean Whitton <[email protected]>

    vc-dir-update: Remove assertion invalid on this branch
    
    * lisp/vc/vc-dir.el (vc-dir-update): Remove assertion invalid on
    the emacs-31 branch.  Do not merge to master.
---
 lisp/vc/vc-dir.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index df3bbd14b66..50f3a75af68 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -646,8 +646,7 @@ 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))))
-        (cl-assert (null to-remove))))
+              (setq crt prev))))))
     ;; Update VC file properties.
     (pcase-dolist (`(,file ,state ,_extra) entries)
       (vc-file-setprop file 'vc-backend