mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
* lisp/vc/vc.el (vc-push): Fix when visiting untracked files.
This commit is contained in:
parent
ee7c4ed5d8
commit
f408460cb1
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue