Run git-svn dcommit and rebase asynchronously to avoid blocking the UI

This commit is contained in:
Steve Purcell 2009-02-02 15:23:31 +01:00
parent 09e9d0d4f4
commit 2ee532a01d

View file

@ -1706,11 +1706,11 @@ in log buffer."
(defun magit-svn-rebase ()
(interactive)
(magit-run "git" "svn" "rebase"))
(magit-run-async "git" "svn" "rebase"))
(defun magit-svn-dcommit ()
(interactive)
(magit-run "git" "svn" "dcommit"))
(magit-run-async "git" "svn" "dcommit"))
(defun magit-svn-enabled ()
(not (null (find "git-svn" (magit-list-interesting-revisions) :test 'equal))))