]> git.eshelyaron.com Git - emacs.git/commit
Support state changing VC operations in dired-mode on files (bug#34949)
authorJuri Linkov <juri@linkov.net>
Tue, 18 Feb 2020 23:35:03 +0000 (01:35 +0200)
committerJuri Linkov <juri@linkov.net>
Tue, 18 Feb 2020 23:35:03 +0000 (01:35 +0200)
commit2b04ca05ad9f3679a047ffc06b35d2d61d74b12e
treef4e0225935a983eaf7e2054f130442507fa672ba
parent0c0fa1d5fddadea943a9813e491f3f7727b86f45
Support state changing VC operations in dired-mode on files (bug#34949)

* lisp/vc/vc.el (vc-deduce-fileset): Don't error out when observer is nil.
(vc-dired-deduce-fileset): Add optional args 'state-model-only-files'
and 'observer'.  Check that all files are in a consistent state
when state-model-only-files is non-nil.  Error out on directories.

* lisp/vc/vc-dispatcher.el (vc-dispatcher-browsing): Check dired-mode
for derived-mode-p.
etc/NEWS
lisp/vc/vc-dispatcher.el
lisp/vc/vc.el