From f408460cb178c7304bfadf096ba2c8698d71087e Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 14 Feb 2026 15:32:08 +0000 Subject: [PATCH] * lisp/vc/vc.el (vc-push): Fix when visiting untracked files. --- lisp/vc/vc.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 7a0e0c354a2..606a5342086 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -4726,9 +4726,8 @@ VCS command to run. On a non-distributed version control system, this signals an error. It also signals an error in a Bazaar bound branch." (interactive "P") - (let* ((vc-fileset (vc-deduce-fileset t)) - (backend (car vc-fileset))) -;;; (files (cadr vc-fileset))) + (let* ((fileset (vc-deduce-fileset t t)) + (backend (car fileset))) (if (vc-find-backend-function backend 'push) (progn (vc-call-backend backend 'push arg) ;; FIXME: Ideally we would only clear out the