about summary refs log tree commit diff
path: root/gitsum.el
diff options
context:
space:
mode:
Diffstat (limited to 'gitsum.el')
-rw-r--r--gitsum.el5
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."