From 2a6f8343eed0166f6a94ba202835d20aa78af8ea Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 6 Feb 2008 17:10:43 +0100 Subject: Make gitsum-push async --- gitsum.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gitsum.el b/gitsum.el index d19210c..6d25242 100644 --- a/gitsum.el +++ b/gitsum.el @@ -97,7 +97,10 @@ A numeric argument serves as a repeat count." "Push the current repository." (interactive) (let ((args (read-string "Shell command: " "git push "))) - (shell-command args))) + (let ((buffer (get-buffer-create " *gitsum-push*"))) + (switch-to-buffer buffer) + (insert "Running " args "...\n\n") + (start-process-shell-command "gitsum-push" buffer args)))) (defun gitsum-revert () "Revert the active patches in the working directory." -- cgit 1.4.1