aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc
diff options
context:
space:
mode:
authorSean Whitton2026-02-14 15:32:08 +0000
committerSean Whitton2026-02-14 15:32:08 +0000
commitf408460cb178c7304bfadf096ba2c8698d71087e (patch)
tree78e21a46803cca212f2aab0d3d5157d798418583 /lisp/vc
parentee7c4ed5d8e930cd781db4ff6efbd61f6bd495d7 (diff)
downloademacs-f408460cb178c7304bfadf096ba2c8698d71087e.tar.gz
emacs-f408460cb178c7304bfadf096ba2c8698d71087e.zip
* lisp/vc/vc.el (vc-push): Fix when visiting untracked files.
Diffstat (limited to 'lisp/vc')
-rw-r--r--lisp/vc/vc.el5
1 files 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.
4726On a non-distributed version control system, this signals an error. 4726On a non-distributed version control system, this signals an error.
4727It also signals an error in a Bazaar bound branch." 4727It also signals an error in a Bazaar bound branch."
4728 (interactive "P") 4728 (interactive "P")
4729 (let* ((vc-fileset (vc-deduce-fileset t)) 4729 (let* ((fileset (vc-deduce-fileset t t))
4730 (backend (car vc-fileset))) 4730 (backend (car fileset)))
4731;;; (files (cadr vc-fileset)))
4732 (if (vc-find-backend-function backend 'push) 4731 (if (vc-find-backend-function backend 'push)
4733 (progn (vc-call-backend backend 'push arg) 4732 (progn (vc-call-backend backend 'push arg)
4734 ;; FIXME: Ideally we would only clear out the 4733 ;; FIXME: Ideally we would only clear out the