branch: elpa/magit commit f2a61334430291d2162a68138c95ab310a8557f1 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-run-git-async: No longer clutter *Messages* buffer We still show the run command in the echo area and log the command and its output to the process buffer. Additionally logging the run command to the *Messages* buffer is redundant. --- lisp/magit-process.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/magit-process.el b/lisp/magit-process.el index 5a9f3d83272..8cdab4e2efa 100644 --- a/lisp/magit-process.el +++ b/lisp/magit-process.el @@ -522,10 +522,11 @@ current when this function was called (if it is a Magit buffer and still alive), as well as the respective Magit status buffer. See `magit-start-process' for more information." - (message "Running %s %s" (magit-git-executable) - (let ((m (string-join (flatten-tree args) " "))) - (remove-list-of-text-properties 0 (length m) '(face) m) - m)) + (let ((message-log-max nil)) + (message "Running %s %s" (magit-git-executable) + (let ((m (string-join (flatten-tree args) " "))) + (remove-list-of-text-properties 0 (length m) '(face) m) + m))) (magit-start-git nil args)) (defun magit-run-git-with-editor (&rest args)