diff options
| author | Sean Whitton <spwhitton@spwhitton.name> | 2026-06-01 09:51:08 +0100 |
|---|---|---|
| committer | Sean Whitton <spwhitton@spwhitton.name> | 2026-06-01 09:51:08 +0100 |
| commit | 2c2f1c00accb7672bea7fa98d5314bfb11edfd7f (patch) | |
| tree | a97e9f30781a5932b9ac418054046307c4d074e9 | |
| parent | 51f823a3afa48b4515594470e245940989e4151d (diff) | |
; * lisp/vc/vc-dir.el (vc-dir-update): Add an assertion.
| -rw-r--r-- | lisp/vc/vc-dir.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el index 98c69b48691..2cb56aac715 100644 --- a/lisp/vc/vc-dir.el +++ b/lisp/vc/vc-dir.el @@ -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 |
