]> git.eshelyaron.com Git - emacs.git/commit
Handle relative file names in vc-resynch-window and vc-resynch-buffer
authorJuri Linkov <juri@linkov.net>
Tue, 24 Jan 2023 18:48:20 +0000 (20:48 +0200)
committerJuri Linkov <juri@linkov.net>
Tue, 24 Jan 2023 18:48:20 +0000 (20:48 +0200)
commitecf500b5e34f3767df6b41f110efcf307c74ebc9
tree1a8ec14d01fc794ad0d4e048265d3d433fa743f2
parent695e9f71c3f13c1338de5bb653d71462a6e436b8
Handle relative file names in vc-resynch-window and vc-resynch-buffer

* lisp/vc/vc-dispatcher.el (vc-resynch-window, vc-resynch-buffer):
While comparing with `buffer-file-name' if `file' is not absolute
use `expand-file-name' in `vc-root-dir'.  This fixes the case of
refreshing the buffers after typing `C-x v = C-x v u' (bug#60897).
lisp/vc/vc-dispatcher.el