diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2008-02-06 17:10:43 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2008-02-06 17:10:43 +0100 |
commit | 2a6f8343eed0166f6a94ba202835d20aa78af8ea (patch) | |
tree | 9b652a2052b8bf81126370adec371431499ed915 | |
parent | d33c6048a5fa39bf6240e819116240b51135ef4e (diff) | |
download | gitsum-2a6f8343eed0166f6a94ba202835d20aa78af8ea.tar.gz gitsum-2a6f8343eed0166f6a94ba202835d20aa78af8ea.tar.xz gitsum-2a6f8343eed0166f6a94ba202835d20aa78af8ea.zip |
Make gitsum-push async
-rw-r--r-- | gitsum.el | 5 |
1 files changed, 4 insertions, 1 deletions
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." |