]> git.eshelyaron.com Git - emacs.git/commit
Always update VC packages from a vc-dir buffer
authorPhilip Kaludercic <philipk@posteo.net>
Fri, 26 Apr 2024 06:21:37 +0000 (08:21 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 29 Apr 2024 15:02:48 +0000 (17:02 +0200)
commit408fdaff51fc6237a753aa6b996956c9fa1d0c0d
tree2781559ad69303cad15e24309e5d0dd614783ad7
parente0fce2ee20c3c4031b6a7406c9b2c05192ae8cde
Always update VC packages from a vc-dir buffer

* lisp/emacs-lisp/package-vc.el (vc-dir-prepare-status-buffer):
Add a declaration.
(package-vc-upgrade): Prepare a dummy vc-dir buffer to ensure
that 'vc-pull' (or rather 'vc-deduce-fileset') can correctly
infer the VC backend to use.  (bug#70526)

(cherry picked from commit 758fe9b670e9d889f5dee541c492417af6af9f10)
lisp/emacs-lisp/package-vc.el