Make magit-run-git-async print out the command it's executing.

This gives the user some immediate feedback when running a potentially long command,
such as "git fetch" or "git push".
This commit is contained in:
Nathan Weizenbaum 2010-06-09 21:40:04 -07:00 committed by Phil Jackson
parent 600ffa4097
commit 29a1b34947

View file

@ -1410,6 +1410,7 @@ FUNC should leave point at the end of the modified region"
nil nil nil nil input)))
(defun magit-run-git-async (&rest args)
(message "Running %s %s" magit-git-executable (mapconcat 'identity args " "))
(magit-run* (append (cons magit-git-executable
magit-git-standard-options)
args)