From: Sean Whitton Date: Sat, 26 Jul 2025 12:25:27 +0000 (+0100) Subject: vc-do-command: Fix last part of 'full-command' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4518f21d258b59d47069c6e6a66fdab2f6826ee0;p=emacs.git vc-do-command: Fix last part of 'full-command' * lisp/vc/vc-dispatcher.el (vc-do-command): Don't append " ." to 'full-command' when FILES is nil because the command we actually run doesn't have "." as a final argument in that case. (cherry picked from commit 8897c15251a4374145083d2995a61fae2806238f) --- diff --git a/lisp/vc/vc-dispatcher.el b/lisp/vc/vc-dispatcher.el index 1674251d170..139ba5aa70a 100644 --- a/lisp/vc/vc-dispatcher.el +++ b/lisp/vc/vc-dispatcher.el @@ -421,7 +421,7 @@ case, and the process object in the asynchronous case." (substring command 0 -1) command) " " (vc-delistify flags) - " " (vc-delistify files))) + (and files (concat " " (vc-delistify files))))) (squeezed (remq nil flags)) (inhibit-read-only t) (status 0))