From c58447fd8cb99fcc53df85da7c20b09620f64a1c Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 27 Feb 2005 18:38:48 +0000 Subject: [PATCH] (vc-do-command): Don't run command asynchronously when operating in a remote directory. --- lisp/ChangeLog | 3 +++ lisp/vc.el | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 141eec983d9..e9cc351cec5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2005-02-27 Andreas Schwab + * vc.el (vc-do-command): Don't run command asynchronously when + operating in a remote directory. + * net/tramp.el (tramp-file-name-for-operation): Fix misapplied change from sync with Tramp 2.0.47. diff --git a/lisp/vc.el b/lisp/vc.el index 2daf100ff57..2e241e67f48 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -958,6 +958,9 @@ that is inserted into the command line before the filename." (mapconcat 'identity vc-path path-separator)) process-environment)) (w32-quote-process-args t)) + (if (and (eq okstatus 'async) (file-remote-p default-directory)) + ;; start-process does not support remote execution + (setq okstatus nil)) (if (eq okstatus 'async) (let ((proc (apply 'start-process command (current-buffer) command squeezed))) -- 2.39.2